Chris Simpson | a9b6c70 | 2018-04-08 07:11:37 -0400 | [diff] [blame] | 1 | import XCTest |
2 | @testable import Thrift | ||||
3 | |||||
4 | class ThriftTests: XCTestCase { | ||||
5 | func testVersion() { | ||||
James E. King III | 8935c98 | 2019-01-25 00:41:17 -0500 | [diff] [blame] | 6 | XCTAssertEqual(Thrift().version, "0.13.0") |
Chris Simpson | a9b6c70 | 2018-04-08 07:11:37 -0400 | [diff] [blame] | 7 | } |
Chris Simpson | 2566ecd | 2018-08-29 14:40:44 -0400 | [diff] [blame] | 8 | |
Chris Simpson | a9b6c70 | 2018-04-08 07:11:37 -0400 | [diff] [blame] | 9 | func test_in_addr_extension() { |
Chris Simpson | 2566ecd | 2018-08-29 14:40:44 -0400 | [diff] [blame] | 10 | |
Chris Simpson | a9b6c70 | 2018-04-08 07:11:37 -0400 | [diff] [blame] | 11 | } |
Chris Simpson | 2566ecd | 2018-08-29 14:40:44 -0400 | [diff] [blame] | 12 | |
Chris Simpson | a9b6c70 | 2018-04-08 07:11:37 -0400 | [diff] [blame] | 13 | static var allTests : [(String, (ThriftTests) -> () throws -> Void)] { |
14 | return [ | ||||
15 | ("testVersion", testVersion), | ||||
16 | ] | ||||
17 | } | ||||
18 | } |