public void Redistribute_2_4_1_2_Produces_3_1_2_3() { int [] banks = new int [] { 2, 4, 1, 2 }; banks = DaySix.Iterate(banks); CollectionAssert.AreEqual(new int [] { 3, 1, 2, 3 }, banks); }
public void Redistribute_0_2_7_0_Produces_2_4_1_2() { int [] banks = new int [] { 0, 2, 7, 0 }; banks = DaySix.Iterate(banks); CollectionAssert.AreEqual(new int [] { 2, 4, 1, 2 }, banks); }