Skip to content

Commit f0e16cc

Browse files
authored
added small amounts to split function test.
1 parent c371406 commit f0e16cc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

test/testSplit.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ def test_splits(self):
1717
{"amount": "12.97", "ppl": 5, "expect": ("2.59", "0.02")},
1818
{"amount": "52000.00", "ppl": 3, "expect": ("17333.33", "0.01")},
1919
{"amount": "1050.00", "ppl": 3, "expect": ("350.00", "0.00")},
20+
{"amount": "0.02", "ppl": 3, "expect": ("0.00", "0.02")},
21+
{"amount": "0.02", "ppl": 2, "expect": ("0.01", "0.00")},
2022
]
2123
for case in cases:
2224
expect = (Money(case['expect'][0], "CAD"), Money(case['expect'][1], "CAD"))

0 commit comments

Comments
 (0)