Skip to content

Commit

Permalink
Add (failing) test case for allocateWithRemainder
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich Lott / Artful Robot authored and BenMorel committed Aug 1, 2022
1 parent 6011ef5 commit 4462b76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/MoneyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,7 @@ public function providerAllocateWithRemainder() : array
[['0.02', 'EUR'], [1, 1, 1, 1], ['EUR 0.00', 'EUR 0.00', 'EUR 0.00', 'EUR 0.00', 'EUR 0.02']],
[['0.02', 'EUR'], [1, 1, 3, 1], ['EUR 0.00', 'EUR 0.00', 'EUR 0.01', 'EUR 0.00', 'EUR 0.01']],
[[-100, 'USD'], [30, 20, 40, 40], ['USD -23.07', 'USD -15.38', 'USD -30.76', 'USD -30.76', 'USD -0.03']],
[['0.03', 'GBP'], [75, 25], ['GBP 0.00', 'GBP 0.00', 'GBP 0.03']],
];
}

Expand Down

0 comments on commit 4462b76

Please sign in to comment.