예제 #1
0
        public void Check_PreCalculated_Square_03()
        {
            var t = new Triangle(5, 8, 11);

            Assert.Equal(18.33030277982336, t.CalcSquare(), 6);
        }
예제 #2
0
        public void Check_PreCalculated_Square_01()
        {
            var t = new Triangle(3, 4, 5);

            Assert.Equal(6, t.CalcSquare());
        }
예제 #3
0
        public void Check_PreCalculated_Square_02()
        {
            var t = new Triangle(5, 5, 5);

            Assert.Equal(10.82531754730548, t.CalcSquare(), 6);
        }