2 @testable import Junction
4 final class JunctionTests: XCTestCase {
6 override func setUpWithError() throws {
7 // Put setup code here. This method is called before the invocation of each test method in the class.
10 override func tearDownWithError() throws {
11 // Put teardown code here. This method is called after the invocation of each test method in the class.
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.
22 func testPerformanceExample() throws {
23 // This is an example of a performance test case.
25 // Put the code you want to measure the time of here.