Exemple #1
0
        public void Array123Test(int[] numbers, bool expected)
        {
            Loops lw     = new Loops();
            bool  result = lw.Array123(numbers);

            Assert.AreEqual(expected, result);
        }
Exemple #2
0
        public void Array123test(int[] numbers, bool expected)
        {
            //Arrange
            Loops test = new Loops();
            //Act
            bool actual = test.Array123(numbers);

            //Assert
            Assert.AreEqual(expected, actual);
        }
Exemple #3
0
        public void Array123(int[] a, bool expected)
        {
            // arrange
            Loops obj = new Loops();

            // act
            bool actual = obj.Array123(a);

            // assert
            Assert.AreEqual(expected, actual);
        }
Exemple #4
0
        public void Array123Test(int[] intArray, bool expected)
        {
            bool actual = obj.Array123(intArray);

            Assert.AreEqual(expected, actual);
        }
Exemple #5
0
        public void Array123Test(int[] nums, bool expected)
        {
            var actual = _loops.Array123(nums);

            Assert.AreEqual(expected, actual);
        }