X-Git-Url: https://git.r.bdr.sh/rbdr/map/blobdiff_plain/5e8ff4850c4827125fe12788dd5b153c4f636f48..98f09799b699b453e2fc057c888ead447b319b11:/MapTests/MapTests.swift diff --git a/MapTests/MapTests.swift b/MapTests/MapTests.swift index e425c00..5a8f781 100644 --- a/MapTests/MapTests.swift +++ b/MapTests/MapTests.swift @@ -1,34 +1,11 @@ -// -// MapTests.swift -// MapTests -// -// Created by Ruben Beltran del Rio on 2/1/21. -// - -import XCTest +import Testing @testable import Map -class MapTests: XCTestCase { - - override func setUpWithError() throws { - // Put setup code here. This method is called before the invocation of each test method in the class. - } - - override func tearDownWithError() throws { - // Put teardown code here. This method is called after the invocation of each test method in the class. - } - - func testExample() throws { - // This is an example of a functional test case. - // Use XCTAssert and related functions to verify your tests produce the correct results. - } +struct MapTests { - func testPerformanceExample() throws { - // This is an example of a performance test case. - self.measure { - // Put the code you want to measure the time of here. - } + @Test func testExample() async throws { + // Write your test here and use APIs like `#expect(...)` to check expected conditions. } }