예제 #1
0
        public void Maths_Area_CorrectArea()
        {
            Point A = new Point(0, 0);
            Point B = new Point(5, 7);
            Point C = new Point(1, 2);

            double triangle_area = GameMaths.Area(A, B, C);

            Assert.AreEqual(triangle_area, 1.5);
        }