-//
-// MapTests.swift
-// MapTests
-//
-// Created by Ruben Beltran del Rio on 2/1/21.
-//
+import Testing
-import XCTest
@testable import Map
-class MapTests: XCTestCase {
+struct MapTests {
- 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.
- }
-
- 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.
+ }
}