public void TestSubstractOneMinusTwo() { var ycw = new YouCanWork(); var result = ycw.YouCanSubstract(1, 2); Assert.AreEqual(-1, result, "Substract 1 minus 2"); }
public void TestAddOnePlusOne() { var ycw = new YouCanWork(); var result = ycw.YouCanAdd(1, 1); Assert.AreEqual(2, result, "Add 1 plus 1"); }
public void TestSubstractOneMinusOne() { var ycw = new YouCanWork(); var result = ycw.YouCanSubstract(1, 1); Assert.AreEqual(0, result, "Substract 1 minus 1"); }
public void TestAddOnePlus3() { var ycw = new YouCanWork(); var result = ycw.YouCanAdd(1, 3); Assert.AreEqual(4, result, "Add 1 plus 3"); }