public static void IsIntersectingCoordinate(double x, double y, bool expectedIntersection) { CartesianCoordinate coordinate = new CartesianCoordinate(x, y, Tolerance); bool isIntersecting = curve.IsIntersectingCoordinate(coordinate); Assert.AreEqual(expectedIntersection, isIntersecting); }