maxapi: add more market info assertion

This commit is contained in:
c9s 2023-04-13 16:18:11 +08:00
parent cbbe6e286d
commit fed5d5f0b8
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -32,6 +32,11 @@ func TestPublicService(t *testing.T) {
if assert.NotEmpty(t, markets) {
assert.NotZero(t, markets[0].MinBaseAmount)
assert.NotZero(t, markets[0].MinQuoteAmount)
assert.NotEmpty(t, markets[0].Name)
assert.NotEmpty(t, markets[0].ID)
assert.NotEmpty(t, markets[0].BaseUnit)
assert.NotEmpty(t, markets[0].QuoteUnit)
t.Logf("%+v", markets[0])
}
})