summaryrefslogtreecommitdiffstats
path: root/forecast_test.go
diff options
context:
space:
mode:
authorPetri Hienonen <petri.hienonen@gmail.com>2026-02-11 16:31:13 +0200
committerPetri Hienonen <petri.hienonen@gmail.com>2026-02-11 16:31:13 +0200
commitb72a2839061c4ac3d54ecfccf65559c4bc34a4ac (patch)
tree049a57f2d049f5cdc56120e4bd7138b9cd5c8af0 /forecast_test.go
parentfb9b665b79fccd8ef0a13a514dce11f0369e89df (diff)
downloadweather-master.tar.zst
Update the calculationsHEADmaster
Diffstat (limited to '')
-rw-r--r--forecast_test.go4
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
}