public void TestIsoscelesTriangle() { int side1 = 2; int side2 = 4; int side3 = 4; string expected = "Isosceles triangle."; string result = _triangleClassifier.ClassifyTriangle(side1, side2, side3); Assert.AreEqual(expected, result); }
public void TestEquilateralTriangle() { int firstEdge = 2; int secondEdge = 2; int thirdEdge = 2; string expected = "Equilateral Triangle"; string result = triangle.ClassifyTriangle(firstEdge, secondEdge, thirdEdge); Assert.AreEqual(expected, result); }