Пример #1
0
 public void Isosceles_ValueOfZero()
 {
     Triangle myTriangle = new Triangle(0, 0, 0);
     Assert.IsFalse(myTriangle.isIsosceles());
 }
Пример #2
0
 public void Isosceles_DiffrentValues()
 {
     Triangle myTriangle = new Triangle(136, 258, 124);
     Assert.IsFalse(myTriangle.isIsosceles());
 }
Пример #3
0
 public void Isosceles_Same()
 {
     Triangle myTriangle = new Triangle(100, 100, 100);
     Assert.IsFalse(myTriangle.isIsosceles());
 }
Пример #4
0
 public void Isosceles_AccurateValues()
 {
     Triangle myTriangle = new Triangle(6, 5, 6);
     Assert.IsTrue(myTriangle.isIsosceles());
 }