예제 #1
0
 public void Test_ThreeZero()
 {
     Assert.AreEqual("Triangler not formed", TriangleSolver.TriangleType(0, 0, 0));
 }
예제 #2
0
 public void Test_Character()
 {
     Assert.AreEqual("String entered", TriangleSolver.TriangleType(10, 0, *));
 }
예제 #3
0
 public void Test_NegativeZero()
 {
     Assert.AreEqual("One negative and one Zero length added", TriangleSolver.TriangleType(10, -1, 0));
 }
예제 #4
0
 public void Test_NegativeEntered()
 {
     Assert.AreEqual("Negative entered", TriangleSolver.TriangleType(10, -1, 7));
 }
예제 #5
0
 public void Test_ZeroEntered()
 {
     Assert.AreEqual("Zero entered", TriangleSolver.TriangleType(10, 0, 7));
 }
예제 #6
0
 public void Test_Scalene()
 {
     Assert.AreEqual("Triangle is scalene.", TriangleSolver.TriangleType(8, 9, 10));
 }
예제 #7
0
 public void Test_Isoscales()
 {
     Assert.AreEqual("Triangle is isoscales.", TriangleSolver.TriangleType(8, 12, 8));
 }
예제 #8
0
 public void Test_Equilateral()
 {
     Assert.AreEqual("Triangle is equilateral.", TriangleSolver.TriangleType(10, 10, 10));
 }