prediction COMPLETE

This commit is contained in:
Bel LaPointe
2023-10-26 05:56:36 -06:00
parent bd4e0a913a
commit eda1c564d4
3 changed files with 96 additions and 17 deletions

View File

@@ -16,13 +16,15 @@ func TestRegisterPrediction(t *testing.T) {
}
t.Logf("%+v", got)
if len(got) != len(input)+1 {
if len(got) != len(input)+13 {
t.Error(len(got))
}
if _, ok := got["2001-11"]; !ok {
t.Error(ok)
for _, date := range got.Dates() {
for _, name := range got.Names() {
t.Logf("%s | %s = %+v", date, name, got[date][name])
}
}
t.Error("not impl")
})
t.Run("compounding interest", func(t *testing.T) {