public static void CurvatureByAngle(double angleRadians, double expectedCurvature) { double actualCurvature = curve.CurvatureByAngle(angleRadians); Assert.AreEqual(expectedCurvature, actualCurvature, Tolerance); }