Пример #1
0
 public void testCase08() //testcase8 when not a triangle
 {
     Assert.AreEqual("Triangle cannot be formed", TriangleSolver.Analyze(0, 0, 0));
 }
Пример #2
0
 public void testCase06() //testcase6 Scalene Triangle
 {
     Assert.AreEqual("It is a Scalene Triangle", TriangleSolver.Analyze(4, 8, 5));
 }
Пример #3
0
 public void testCase05() //testcase5 Scalene Triangle
 {
     Assert.AreEqual("It is a Scalene Triangle", TriangleSolver.Analyze(2, 4, 6));
 }
Пример #4
0
 public void testCase04() //testcase4 Isosceles Triangle
 {
     Assert.AreEqual("It is an Isosceles Triangle", TriangleSolver.Analyze(2, 3, 2));
 }
Пример #5
0
 public void testCase02() //testcase2 Equilateral Triangle
 {
     Assert.AreEqual("It is an Equilateral Triangle", TriangleSolver.Analyze(3, 3, 3));
 }
Пример #6
0
 public void testCase01() //testcase1 Equilateral Triangle
 {
     Assert.AreEqual("It is an Equilateral Triangle", TriangleSolver.Analyze(8, 8, 8));
 }