public void TestCase_FromTestData_Success() { WaiterSolution solution = new WaiterSolution(1, new[] { 3, 4, 7, 6, 5 }); int[] result = solution.ExecuteIterations(); Assert.That(result, Is.EqualTo(new[] { 4, 6, 3, 7, 5 })); }
public void TestCase2_FromTestData2_Success() { WaiterSolution solution = new WaiterSolution(2, new[] { 3, 3, 4, 4, 9 }); int[] result = solution.ExecuteIterations(); Assert.That(result, Is.EqualTo(new[] { 4, 4, 9, 3, 3 })); }