Exemple #1
0
        public void magnitude_squared()
        {
            var s = new Segment2(new Point2(1, 2), new Vector2(3, 4));

            Assert.Equal(9 + 16, s.GetMagnitudeSquared());
        }
        public void magnitude_squared() {
            var s = new Segment2(new Point2(1, 2), new Vector2(3, 4));

            Assert.Equal(9 + 16, s.GetMagnitudeSquared());
        }