Exemplo n.º 1
0
        public void magnitude_squared()
        {
            var s = new Segment2(new Point2(1, 2), new Vector2(3, 4));

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

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