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() { |
Jens Geyer | ef199cc | 2024-09-03 01:28:31 +0200 | [diff] [blame^] | 6 | XCTAssertEqual(Thrift().version, "0.22.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 | static var allTests : [(String, (ThriftTests) -> () throws -> Void)] { |
| 10 | return [ |
| 11 | ("testVersion", testVersion), |
| 12 | ] |
| 13 | } |
| 14 | } |