[TestCase(15, 17, 20)] //scalene public void Is_Not_Equilateral_Triangle(int o, int p, int q) { string isNotEquilateralTriangle = FindTriangle.EquilateralTriangle(o, p, q); Assert.AreEqual("It is not an equilateral triangle", isNotEquilateralTriangle); Console.WriteLine(isNotEquilateralTriangle); }
[TestCase(15, 25, 15)] //isosceles public void Is_Not_Scalene_Triangle(int l, int m, int n) { string isNotScaleneTriangle = FindTriangle.ScaleneTriangle(l, m, n); Assert.AreEqual("It is not a Scalene triangle", isNotScaleneTriangle); Console.WriteLine(isNotScaleneTriangle); }
public void Is_Not_Triangle(int x, int y, int z) { string isNotTriangle = FindTriangle.TriangleType(x, y, z); Assert.AreEqual("It is not a triangle", isNotTriangle); Console.WriteLine(isNotTriangle); }
public void Is_Not_Isosceles_Triangle(int a, int b, int c) { string isNotIsoscelestriangle = FindTriangle.IsoscelesTriangle(a, b, c); Assert.AreEqual("It is not an Isosceles triangle", isNotIsoscelestriangle); Console.WriteLine(isNotIsoscelestriangle); }
public void Is_Triangle(int a, int b, int c) { string isTriangle = FindTriangle.TriangleType(a, b, c); Assert.AreEqual("It is a triangle", isTriangle); Console.WriteLine(isTriangle); }