aboutsummaryrefslogtreecommitdiff
path: root/MapTests/MapTests.swift
diff options
context:
space:
mode:
Diffstat (limited to 'MapTests/MapTests.swift')
-rw-r--r--MapTests/MapTests.swift31
1 files changed, 4 insertions, 27 deletions
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.
}
}