public static void CurvatureImplicit( double Fx, double Fy, double Fxx, double Fxy, double Fyy, double expected) { double result = GeometryLibrary.CurvatureImplicit(Fx, Fy, Fxx, Fxy, Fyy); Assert.AreEqual(expected, result, Tolerance); }
public static void CurvatureImplicit_Throws_DivideByZeroException( double Fx, double Fy, double Fxx, double Fxy, double Fyy) { Assert.Throws <DivideByZeroException>(() => GeometryLibrary.CurvatureImplicit(Fx, Fy, Fxx, Fxy, Fyy)); }