public void TestSub() { //Arrange var calc = new Calc(); //Act var result = calc.DoSub(5, 3); //Assert Assert.AreEqual(result, 2); }
public void TestAdd() { //Arrange var calc = new Calc(); //Act var result = calc.DoAdd(2, 3); //Assert Assert.AreEqual(result,5); }