Exemple #1
0
        public void CalculateAreaWIthNegativeSide()
        {
            var triangle = new SFigures.Triangle(2, 3, -5);

            Assert.AreEqual(0, triangle.CalculateArea());
        }
Exemple #2
0
        public void CalculateRightArea()
        {
            var triangle = new SFigures.Triangle(4, 3, 5);

            Assert.AreEqual(6, triangle.CalculateArea());
        }