11 lines
233 B
Swift
11 lines
233 B
Swift
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]!)
|
|
}
|
|
}
|