Files
2026-08-09 11:10:09 -04:00

17 lines
506 B
Swift

@testable import TempestasDomain
import Testing
@Test func example() async throws {
// Write your test here and use APIs like `#expect(...)` to check expected conditions.
// 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)
}