public void magnitude() { var ray = new Ray2(new Point2(1, 2), new Vector2(3, 4)); Assert.Equal(double.PositiveInfinity, ray.GetMagnitude()); }