Esempio n. 1
0
        public void Array667Test(int[] numbers, int expected)
        {
            Loops lw     = new Loops();
            int   result = lw.Array667(numbers);

            Assert.AreEqual(expected, result);
        }
Esempio n. 2
0
        public void Array667(int[] numbers, int expected)
        {
            //Arrange
            Loops test = new Loops();
            //Act
            int actual = test.Array667(numbers);

            //Assert
            Assert.AreEqual(expected, actual);
        }
Esempio n. 3
0
        public void Array667(int[] a, int expected)
        {
            // arrange
            Loops obj = new Loops();

            // act
            int actual = obj.Array667(a);

            // assert
            Assert.AreEqual(expected, actual);
        }
Esempio n. 4
0
        public void Array667Test(int[] intArray, int expected)
        {
            int actual = obj.Array667(intArray);

            Assert.AreEqual(expected, actual);
        }
Esempio n. 5
0
        public void Array667Test(int[] nums, int expected)
        {
            var actual = _loops.Array667(nums);

            Assert.AreEqual(expected, actual);
        }