Пример #1
0
        public void magnitude_squared() {
            var ray = new Ray2(new Point2(1, 2), new Vector2(3, 4));

            Assert.Equal(double.PositiveInfinity, ray.GetMagnitudeSquared());
        }
Пример #2
0
        public void magnitude_squared()
        {
            var ray = new Ray2(new Point2(1, 2), new Vector2(3, 4));

            Assert.Equal(double.PositiveInfinity, ray.GetMagnitudeSquared());
        }