예제 #1
0
        public void TriangleTest4()
        {
            var triangle = new Triangle()
            {
                SideA = 3, SideB = 4, SideC = 5
            };

            Assert.AreEqual(triangle.IsRight(), true);
        }
예제 #2
0
        public void TriangleTest3()
        {
            var triangle = new Triangle()
            {
                SideA = 2, SideB = 2, SideC = 2
            };

            Assert.AreEqual(triangle.IsRight(), false);
        }