prediction about to test

This commit is contained in:
bel
2023-10-27 07:38:40 -06:00
parent 086ada530f
commit 48463f1d43

View File

@@ -32,6 +32,7 @@ func TestPredictionPredict(t *testing.T) {
}
from := time.Now()
these := []time.Time{time.Now().Add(time.Hour * 24 * 365 / 12)}
theseK := these.Format("2006-01")
_, _ = inc, double
cases := map[string]struct {
@@ -39,7 +40,9 @@ func TestPredictionPredict(t *testing.T) {
given ledger.Balances
want ledger.Register
}{
"empty": {},
"empty": {
want: ledger.Balances{theseK: {}},
},
}
for name, d := range cases {