public void Test7Task2_1() { // Arrange // Act var result = Lesson07.Task2(new List <int>() { 1, 2, 3, 4, 5, 6 }, 6); var expected = 0; // Assert Assert.AreEqual(expected, result); }
public void Test7Task2_2() { // Arrange // Act var result = Lesson07.Task2(new List <int>() { 6, 5, 4, 3, 2, 1 }, 6); var expected = 719; // Assert Assert.AreEqual(expected, result); }
public void Test7Task2_0() { // Arrange // Act var result = Lesson07.Task2(new List <int>() { 2, 4, 1, 3 }, 4); var expected = 10; // Assert Assert.AreEqual(expected, result); }