prediction about to test
This commit is contained in:
@@ -32,6 +32,7 @@ func TestPredictionPredict(t *testing.T) {
|
|||||||
}
|
}
|
||||||
from := time.Now()
|
from := time.Now()
|
||||||
these := []time.Time{time.Now().Add(time.Hour * 24 * 365 / 12)}
|
these := []time.Time{time.Now().Add(time.Hour * 24 * 365 / 12)}
|
||||||
|
theseK := these.Format("2006-01")
|
||||||
_, _ = inc, double
|
_, _ = inc, double
|
||||||
|
|
||||||
cases := map[string]struct {
|
cases := map[string]struct {
|
||||||
@@ -39,7 +40,9 @@ func TestPredictionPredict(t *testing.T) {
|
|||||||
given ledger.Balances
|
given ledger.Balances
|
||||||
want ledger.Register
|
want ledger.Register
|
||||||
}{
|
}{
|
||||||
"empty": {},
|
"empty": {
|
||||||
|
want: ledger.Balances{theseK: {}},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
for name, d := range cases {
|
for name, d := range cases {
|
||||||
|
|||||||
Reference in New Issue
Block a user