aboutsummaryrefslogtreecommitdiff
path: root/MapTests/MapTests.swift
diff options
context:
space:
mode:
authorRuben Beltran del Rio <git@r.bdr.sh>2024-09-16 11:10:32 +0200
committerRuben Beltran del Rio <git@r.bdr.sh>2024-09-16 11:10:32 +0200
commite2c37ac1dd2ad562e3d619d39b72a174a2212b67 (patch)
treed4da2c0a12db0473eb4030014a92045eebe38834 /MapTests/MapTests.swift
parentfdb4633d3e9158e457d57e820df6e1efb4df39c2 (diff)
Map 3 first commit: files, groups and layout
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.
}
}