public void Diff21(int n, int expected)
        {
            Conditionals obj = new Conditionals();

            int actual = obj.Diff21(n);

            Assert.AreEqual(expected, actual);
        }
示例#2
0
 public void Diff21(int n, int expected)
 {
     //arrange
     Conditionals obj = new Conditionals();
     //act
     int actual = obj.Diff21(n);
     //assert
     Assert.AreEqual(expected, actual);
 }
示例#3
0
        public void Diff21test(int a, int expected)
        {
            //Arrange
            Conditionals test = new Conditionals();

            //Act
            int actual = test.Diff21(a);

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