Beispiel #1
0
 public void IsTriangleAllSoideNegative()
 {
     Assert.IsFalse(TriangleTest.IsTriangle(-10, -25, -1));
 }
Beispiel #2
0
 public void IsTriangleSecondSoideNegative()
 {
     Assert.IsFalse(TriangleTest.IsTriangle(5, -10, 5));
 }
Beispiel #3
0
 public void IsTriangleThirdSoideNegative()
 {
     Assert.IsFalse(TriangleTest.IsTriangle(5, 10, -5));
 }
Beispiel #4
0
 public void IsTriangleThirdSoide0()
 {
     Assert.IsFalse(TriangleTest.IsTriangle(10, 10, 0));
 }
Beispiel #5
0
 public void IsTriangleFirstSoideNegative()
 {
     Assert.IsFalse(TriangleTest.IsTriangle(-5, 10, 5));
 }
Beispiel #6
0
 public void IsTriangleSecondSoide0()
 {
     Assert.IsFalse(TriangleTest.IsTriangle(10, 0, 5));
 }
Beispiel #7
0
 public void IsTriangleFirstSoide0()
 {
     Assert.IsFalse(TriangleTest.IsTriangle(0, 10, 5));
 }
Beispiel #8
0
 public void IsTriangleStandartTriangle()
 {
     Assert.IsTrue(TriangleTest.IsTriangle(6, 7, 9));
 }
Beispiel #9
0
 public void IsTriangleIsoscelesTriangle()
 {
     Assert.IsTrue(TriangleTest.IsTriangle(10, 10, 5));
 }
Beispiel #10
0
 public void IsTriangleEquilateralTriangle()
 {
     Assert.IsTrue(TriangleTest.IsTriangle(10, 10, 10));
 }