diff --git a/test/tests/Path_Intersections.js b/test/tests/Path_Intersections.js index 71de7ca9..2126dac6 100644 --- a/test/tests/Path_Intersections.js +++ b/test/tests/Path_Intersections.js @@ -400,3 +400,11 @@ test('#1409', function() { var circ2 = circ1.clone(); testIntersections(circ1.getCrossings(circ2), []); }); + +test('#1255', function() { + var c1 = new Curve([439.3824078319993,216.13903749801196],[-0.06618902689025684,-11.053567490673387],[-9.709467619869528,5.2831783801853],[455.0432856400729,189.60783460905492]); + var c2 = new Curve([446.1268928788026,138.78016797936476],[-4.688929299417313,19.846766368483937],[-0.19057652660425625,-31.82627994291222],[439.3824078319993,216.13903749801196]); + testIntersections(c1.getIntersections(c2), [ + { point: { x: 439.38241, y: 216.13904 }, time: 0, crossing: false } + ]); +});