Files
Tempestas/Packages/TempestasDomain/Tests/TempestasDomainTests/TempestasDomainTests.swift
T
2026-08-05 08:07:41 -04:00

17 lines
506 B
Swift

import Testing
@testable import TempestasDomain
@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)
}