prediction COMPLETE
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user