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