@@ -92,6 +92,8 @@ def test_mixed_balance():
({'JPY': 10}, False),
({'JPY': 10, 'BRL': 0}, False),
({'JPY': 10, 'BRL': 20}, False),
({'USD': '0.00015'}, True),
({'EUR': '-0.00052'}, True),
])
def test_eq_zero(mapping, expected):
balance = core.Balance(amounts_from_map(mapping))
@@ -108,6 +110,8 @@ def test_eq_zero(mapping, expected):
({'JPY': 10}, True),
({'JPY': 10, 'BRL': 0}, True),
({'JPY': 10, 'BRL': 20}, True),
def test_ge_zero(mapping, expected):
@@ -123,6 +127,8 @@ def test_ge_zero(mapping, expected):
def test_le_zero(mapping, expected):