register and balances accept bpi
This commit is contained in:
@@ -21,21 +21,4 @@ func TestDelta(t *testing.T) {
|
||||
t.Error(delta.Currency)
|
||||
}
|
||||
t.Log(delta)
|
||||
|
||||
d2 := "2099-09-08"
|
||||
delta2 := newDelta(d2, "", "name", 11.11, "$", false)
|
||||
|
||||
combined := delta.Plus(delta2)
|
||||
if combined.Date != d2 {
|
||||
t.Error(combined.Date)
|
||||
}
|
||||
if combined.Name != "name" {
|
||||
t.Error(combined.Name)
|
||||
}
|
||||
if combined.Value != 45.67 {
|
||||
t.Error(combined.Value)
|
||||
}
|
||||
if combined.Currency != USD {
|
||||
t.Error(combined.Currency)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user