public void Test2() { int[] values = new int[] { 1, 2, 3, 4, 5 }; Pots pots = new Pots() { Values = values }; Assert.AreEqual(9, pots.Solve()); }
public void Test3() { int[] values = new int[] { 1, 3, 4, 5, 1 }; Pots pots = new Pots() { Values = values }; Assert.AreEqual(6, pots.Solve()); }
public void Test1() { int[] values = new int[] { 1, 1, 1, 1, 1 }; Pots pots = new Pots() { Values = values }; Assert.AreEqual(3, pots.Solve()); }