]>
Commit | Line | Data |
---|---|---|
1 | import XCTest | |
2 | @testable import Junction | |
3 | ||
4 | final class JunctionTests: XCTestCase { | |
5 | ||
6 | override func setUpWithError() throws { | |
7 | // Put setup code here. This method is called before the invocation of each test method in the class. | |
8 | } | |
9 | ||
10 | override func tearDownWithError() throws { | |
11 | // Put teardown code here. This method is called after the invocation of each test method in the class. | |
12 | } | |
13 | ||
14 | func testExample() throws { | |
15 | // This is an example of a functional test case. | |
16 | // Use XCTAssert and related functions to verify your tests produce the correct results. | |
17 | // Any test you write for XCTest can be annotated as throws and async. | |
18 | // Mark your test throws to produce an unexpected failure when your test encounters an uncaught error. | |
19 | // Mark your test async to allow awaiting for asynchronous code to complete. Check the results with assertions afterwards. | |
20 | } | |
21 | ||
22 | func testPerformanceExample() throws { | |
23 | // This is an example of a performance test case. | |
24 | self.measure { | |
25 | // Put the code you want to measure the time of here. | |
26 | } | |
27 | } | |
28 | ||
29 | } |