mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
add more assertions
This commit is contained in:
parent
7741cb11d6
commit
caf7ea3679
|
@ -28,6 +28,7 @@ func TestStockManager(t *testing.T) {
|
|||
assert.NoError(t, err)
|
||||
assert.Equal(t, 0.72970242, stockManager.Stocks.Quantity())
|
||||
assert.NotEmpty(t, stockManager.Stocks)
|
||||
assert.Equal(t, 20, len(stockManager.Stocks))
|
||||
assert.Equal(t, 0, len(stockManager.PendingSells))
|
||||
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue
Block a user