Exemplo n.º 1
0
        public void Count9Test(int[] numbers, int expected)
        {
            Loops lw     = new Loops();
            int   result = lw.Count9(numbers);

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

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

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

            // assert
            Assert.AreEqual(expected, actual);
        }
Exemplo n.º 4
0
        public void Count9Test(int[] array, int expected)
        {
            int actual = obj.Count9(array);

            Assert.AreEqual(expected, actual);
        }
Exemplo n.º 5
0
        public void Count9Test(int[] nums, int expected)
        {
            var actual = _loops.Count9(nums);

            Assert.AreEqual(expected, actual);
        }