From b72a2839061c4ac3d54ecfccf65559c4bc34a4ac Mon Sep 17 00:00:00 2001 From: Petri Hienonen Date: Wed, 11 Feb 2026 16:31:13 +0200 Subject: Update the calculations --- forecast_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'forecast_test.go') 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 } -- cgit v1.3-1-g0d28