public void CartesianToPolarCoordinateTestMethod() { Vector2f cartesian = new Vector2f(5, 3); PolarVector polarVectorDegree = cartesian.CartesianToPolarCoordinateDegrees(); Assert.IsTrue(Math.Abs(polarVectorDegree.r - 5.83) < 0.05 & Math.Abs(polarVectorDegree.theta - 30.963) < 0.05); }