feat: add core func to get predictions for tz

This commit is contained in:
2026-02-09 19:51:43 +00:00
parent 2c74a2d2ba
commit f79c9f2865
3 changed files with 84 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
package core
import "testing"
func TestGetStatsForTZs(t *testing.T) {
preds, err := getStatsForTZs([]string{"+0100", "+0000"})
if err != nil {
t.Fatal(err)
}
if len(preds) == 0 {
t.Fatalf("failed to get predictions")
}
}