Exemple #1
0
        public void Test12Task3_1()
        {
            // Arrange
            // Act
            var result = Lesson12.Task3(new List <int>()
            {
                2, 6, 2, 6, 5
            }, 7);
            var expected = 4204;

            // Assert
            Assert.AreEqual(expected, result);
        }
Exemple #2
0
        public void Test12Task3_0()
        {
            // Arrange
            // Act
            var result = Lesson12.Task3(new List <int>()
            {
                2, 3, 5
            }, 5);
            var expected = 39;

            // Assert
            Assert.AreEqual(expected, result);
        }