1 from unittest import TestCase
2 from bluechips.lib import totals
4 class TestReorderingSettle(TestCase):
7 Test that the number of transfers is actually minimized.
9 Taken from a real-world situation, we discovered that failing
10 to re-order the debt lists after every transfer could lead to
11 extra, unnecessary transfers.
13 self.assertEqual(len(totals.settle({'Alice': 100,