chore: initial domain and infrastructure layers
Signed-off-by: Alan Brault <alan.brault@visus.io>
This commit is contained in:
@@ -6,3 +6,11 @@ import Testing
|
||||
// Swift Testing Documentation
|
||||
// https://developer.apple.com/documentation/testing
|
||||
}
|
||||
|
||||
@Test func weatherCodeRoundTripsKnownCode() async throws {
|
||||
#expect(WeatherCode.from(code: 61).code == 61)
|
||||
}
|
||||
|
||||
@Test func weatherCodePreservesUnknownCode() async throws {
|
||||
#expect(WeatherCode.unknown(code: 12345).code == 12345)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user