public void AcuteTest() { Shapes.Triangle triangle = new Shapes.Triangle(); string result = triangle.IdentifyTriagleType(10, 10, 10); Assert.AreEqual("acute", result); }
public void RightTest() { Shapes.Triangle triangle = new Shapes.Triangle(); string result = triangle.IdentifyTriagleType(4, 3, 5); Assert.AreEqual("right", result); }
public void ObtuseTest() { Shapes.Triangle triangle = new Shapes.Triangle(); string result = triangle.IdentifyTriagleType(6, 6, 10); Assert.AreEqual("obtuse", result); }
public void ErrorTest() { Shapes.Triangle triangle = new Shapes.Triangle(); string result = triangle.IdentifyTriagleType(1000, 10, 10); Assert.AreEqual("error", result); }