public void TestTriangle() { var expected = 6.78; var tr = new Triangle(4, 4, 7); Assert.AreEqual(tr.IsRightAngled(), false); Assert.AreEqual(expected, Math.Round(tr.GetSquare(), 2)); expected = 6; tr = new Triangle(3, 4, 5); Assert.AreEqual(tr.IsRightAngled(), true); Assert.AreEqual(expected, tr.GetSquare()); }