public void PlusOneTestFail() { Calc target = new Calc(); // TODO: Initialize to an appropriate value int first = 4; // TODO: Initialize to an appropriate value int expected =6; // TODO: Initialize to an appropriate value int actual; actual = target.PlusOne(first); Assert.AreEqual(expected, actual); // Assert.Inconclusive("Verify the correctness of this test method."); }
public void PlusOneTest() { Calc clc = new Calc(); Assert.AreEqual(5, clc.PlusOne(4)); }