Exemple #1
0
 public void SubTest(int number1, int number2, int expected)
 {
     Assert.AreEqual(expected, cl.Sub(number1, number2));
     //   Assert.AreEqual(expected, cl.Sub(number));
 }
Exemple #2
0
        public void TestSub(int a, int b, int expected)
        {
            int actual = calcMethods.Sub(a, b);

            Assert.AreEqual(expected, actual);
        }