mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2024-12-29 09:22:22 -05:00
Tests: Fix unit test for #1239.
Adjust for increase of found intersections since ecc1edb6ea
.
This commit is contained in:
parent
22bda0972d
commit
fd797425e0
1 changed files with 1 additions and 1 deletions
|
@ -869,7 +869,7 @@ test('#1239', function() {
|
|||
var p2 = new Path([[960, 352, -0.05999999999994543, 111.67999999999995, 0, 0], [1024, 352, 0, 0, -0.05999999999994543, 127.07], [890.69, 696.28, 85.5, -93.98000000000002, 0, 0], [843.44, 653.28, 0, 0, 75.14999999999998, -82.61000000000001], true]);
|
||||
project.activeLayer.scale(0.25);
|
||||
compareBoolean(function() { return p1.unite(p2); },
|
||||
'M923.0175,265.805c21.3525,23.505 33.2725,54.305 33.2725,86.065c0,0.01833 0,0.03667 -0.00001,0.055h0.00001c-0.00005,0.10258 -0.00022,0.20515 -0.00052,0.3077c-0.09045,31.65922 -12.02084,62.34173 -33.32698,85.7623l-11.8125,-10.75c18.8,-20.6675 29.14,-47.4375 29.14,-75.375c0,-27.9075 -10.32,-54.655 -29.0875,-75.315z');
|
||||
'M923.0175,265.805c21.3525,23.505 33.2725,54.305 33.2725,86.065c0,0.01833 0,0.03667 -0.00001,0.055h0.00001c-0.00005,0.10258 -0.00022,0.20515 -0.00052,0.3077c-0.06338,22.18242 -5.9393,43.88534 -16.78017,62.94682c-4.63138,8.14369 -10.16899,15.8051 -16.54682,22.81548l-11.8125,-10.75c8.97181,-9.86302 16.01692,-21.11585 20.93099,-33.22212c5.34364,-13.16533 8.16725,-27.34044 8.20856,-41.83592c0.0003,-0.10564 0.00044,-0.21129 0.00044,-0.31697c0,-27.9075 -10.32,-54.655 -29.0875,-75.315z');
|
||||
});
|
||||
|
||||
test('#1261', function() {
|
||||
|
|
Loading…
Reference in a new issue