예제 #1
0
        public void CalculateTriangleAcreage_result5()
        {
            FigureBase figure = new Triangle(3, 4, 5);

            var resultValue   = figure.GetAcreage();
            var expectedValue = 6;

            Assert.That(Math.Abs(resultValue - expectedValue) < 0.1f);
        }