예제 #1
0
 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.");
 }
예제 #2
0
 public void PlusOneTest()
 {
     Calc clc = new Calc();
     Assert.AreEqual(5, clc.PlusOne(4));
 }