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