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

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

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