Beispiel #1
0
 public void Equilateral_NegativeValues()
 {
     Triangle myTriangle = new Triangle(-123.5, -134.1, -1223.1);
     Assert.IsFalse(myTriangle.isEquilateral());
 }
Beispiel #2
0
 public void Equilateral_SameValues()
 {
     Triangle myTriangle = new Triangle(100, 100, 100);
     Assert.IsTrue(myTriangle.isEquilateral());
 }
Beispiel #3
0
 public void Equilateral_DiffrentValues()
 {
     Triangle myTriangle = new Triangle(123.5, 134.1, 1223.1);
     Assert.IsFalse(myTriangle.isEquilateral());
 }