示例#1
0
 public void CheckTriangleTest_uncorrect()
 {
     Triangle T = new Triangle(-1, 1, 1);
     bool F = T.CheckPositiveSides();
     Assert.IsFalse(F);
 }
示例#2
0
 public void CheckPositiveSidesTest_correct()
 {
     Triangle T = new Triangle(1, 1, 1);
     bool F = T.CheckPositiveSides();
     Assert.IsTrue(F);
 }