diff options
| author | Petri Hienonen <petri.hienonen@gmail.com> | 2026-02-11 16:31:13 +0200 |
|---|---|---|
| committer | Petri Hienonen <petri.hienonen@gmail.com> | 2026-02-11 16:31:13 +0200 |
| commit | b72a2839061c4ac3d54ecfccf65559c4bc34a4ac (patch) | |
| tree | 049a57f2d049f5cdc56120e4bd7138b9cd5c8af0 /forecast_test.go | |
| parent | fb9b665b79fccd8ef0a13a514dce11f0369e89df (diff) | |
| download | weather-master.tar.zst | |
Diffstat (limited to 'forecast_test.go')
| -rw-r--r-- | forecast_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/forecast_test.go b/forecast_test.go index 06a3dc7..6f641cb 100644 --- a/forecast_test.go +++ b/forecast_test.go @@ -15,8 +15,8 @@ func TestCalculateFeelsLike(t *testing.T) { windSpeed float64 want float64 }{ - {"Cold with wind", 5, 80, 10, 0.49}, // Approximate wind chill - {"Warm with humidity", 30, 80, 5, 32.65}, // Approximate heat index + {"Cold with wind", 5, 80, 10, 2.66}, // Approximate wind chill (km/h) + {"Warm with humidity", 30, 80, 5, 33.66}, // Approximate heat index (km/h) {"Moderate", 20, 50, 5, 20}, // No adjustment } |
