Way better
This commit is contained in:
10
Tests/unitsTests/unitsTests.swift
Normal file
10
Tests/unitsTests/unitsTests.swift
Normal file
@@ -0,0 +1,10 @@
|
||||
import Testing
|
||||
|
||||
@testable import units
|
||||
|
||||
@Test func example() async throws {
|
||||
// Write your test here and use APIs like `#expect(...)` to check expected conditions.
|
||||
if let tenKilos = 10["kg"] {
|
||||
print(tenKilos[tenKilos.unit]!)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user