From 5b98fea3fc44aafe0a90366ad351a5a0eff02820 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Wed, 6 Jan 2016 11:03:53 +0100 Subject: [PATCH] Reactivate the previously failing boolean edge case test. --- test/tests/Path_Boolean.js | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/test/tests/Path_Boolean.js b/test/tests/Path_Boolean.js index 28fde977..b959224d 100644 --- a/test/tests/Path_Boolean.js +++ b/test/tests/Path_Boolean.js @@ -701,18 +701,18 @@ test('Isolated edge-cases from @iconexperience\'s boolean-test suite', function( [518.5330018076562, 379.67700053006695, 0, 0, 0, 0], [554.5900896267148, 407.2398529865706, 0, 0, 0, 0] ] -// ], [ -// [ -// [570, 290, 0, 0, 0, 0], -// [575.8176000300452, 323.5855681222093, 0, 0, 0, 0], -// [547.6444566349796, 309.1465641549448, 0, 0, 0, 0], -// [578.8341920603752, 304.57835489946484, 0, 0, -5.7225406635552645e-9, -3.907138079739525e-8], -// [519.4675806753132, 313.27349449897866, 0, 0, 0, 0] -// ], [ -// [575.8176000300631, 323.58556812217466, 0, 0, 0, 0], -// [560, 300, 0, 0, 0, 0], -// [522.421811145802, 296.21971842903645, 0, 0, 0, 0] -// ] + ], [ + [ + [570, 290, 0, 0, 0, 0], + [575.8176000300452, 323.5855681222093, 0, 0, 0, 0], + [547.6444566349796, 309.1465641549448, 0, 0, 0, 0], + [578.8341920603752, 304.57835489946484, 0, 0, -5.7225406635552645e-9, -3.907138079739525e-8], + [519.4675806753132, 313.27349449897866, 0, 0, 0, 0] + ], [ + [575.8176000300631, 323.58556812217466, 0, 0, 0, 0], + [560, 300, 0, 0, 0, 0], + [522.421811145802, 296.21971842903645, 0, 0, 0, 0] + ] ], [ [ [87.34388521634615, 0, -3.9382371300724373, 0, 2.1330446378301247, 0], @@ -755,7 +755,7 @@ test('Isolated edge-cases from @iconexperience\'s boolean-test suite', function( ['M525,345l32.31797,18.04379l23.72504,-18.37449l6.0793,21.87157l-87.1223,33.45913z', 'M557.31797,363.04379l-23.71188,18.3643l-6.07498,-21.85933z'], ['M250,150l-15.25375,32.05024l-8.90311,-28.94542l-45.84314,36.89518l63.48255,20.45333l-8.7363,-28.40309l29.10275,-7.1942z', 'M205.61256,189.25209l-0.01028,0.00254l0,0.2z'], ['M598.5487,408.11025l-42.28034,59.10612l0,0l-37.73535,-87.53938l36.05709,27.56285l0.78705,28.12706z', 'M556.26835,467.21638l-3.83913,-29.98827l2.94792,-1.86119l0.89121,31.84946z'], -// ['M570,290l2.68132,15.47954l6.15287,-0.90118c0,0 -2.36581,0.34651 -6.15287,0.90118l3.13628,18.10603l-28.17314,-14.439c-14.32289,2.0978 -28.17688,4.12693 -28.17688,4.12693l19.08162,-8.78834l-16.12739,-8.26544l27.9654,2.81326z M564.48039,306.68069c-2.28529,0.33471 3.11282,-0.45592 0,0z', 'M538.5492,304.48516l11.83801,-5.45218l9.61279,0.96702l15.8176,23.58557z'], + ['M570,290l5.8176,33.58557l-28.17314,-14.439c-14.32289,2.0978 -28.17688,4.12693 -28.17688,4.12693l19.08162,-8.78834l-16.12739,-8.26544l27.9654,2.81326z', 'M538.5492,304.48516l11.83801,-5.45218l9.61279,0.96702l15.8176,23.58557z'], ['', ''] ]; for (var i = 0; i < data.length; i++) {