public void RectangularTriangleTest(double a, double b, double c, bool result) { Triangle triangle = new Triangle(a, b, c); Assert.AreEqual(triangle.CheckRectangular(), result); }