I think two of the tests in the Two Bucket exercise might be wrong?
The first:
assertEqual(measure(3, 5, 1, "two"), (8, "two", 3))
However my code gets (6, 'one', 5) with the following:
B1, B2, actions
0 5 1
3 5 2
3 0 3
0 3 4
3 3 5
1 5 6
The second test:
assertEqual(measure(7, 11, 2, "two"), (18, "two", 7))
my code gets (16, 'one', 11) with:
B1, B2, actions
0 11 1
7 11 2
7 0 3
0 7 4
7 7 5
3 11 6
3 0 7
0 3 8
7 3 9
0 10 10
7 10 11
6 11 12
6 0 13
0 6 14
7 6 15
2 11 16