Exemple #1
0
        public void Count9(int[] numbers, int expected)
        {
            Loops obj = new Loops();

            int actual = obj.Count9(numbers);

            Assert.AreEqual(expected, actual);
        }
Exemple #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);
 }
Exemple #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);
        }