Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Ranellucci <aar@cpan.org>2013-04-15 21:03:02 +0400
committerAlessandro Ranellucci <aar@cpan.org>2013-04-15 21:03:02 +0400
commitc723c07f8c9537a7402bb67106d9353225f947bf (patch)
tree6172f37d4ff8f115ca759815e07ffef1fd4563f0 /t/polyclip.t
parentbd3384525ec62ae8a512035a9adc4db46d652e5c (diff)
Update unit test after recent conversion of Boost::Geometry::Utils to double coordinates
Diffstat (limited to 't/polyclip.t')
-rw-r--r--t/polyclip.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/polyclip.t b/t/polyclip.t
index 8877d4229..c25ad0fb5 100644
--- a/t/polyclip.t
+++ b/t/polyclip.t
@@ -144,8 +144,8 @@ is_deeply $intersection, [ [120, 120], [180, 160] ], 'internal lines are preserv
my $intersections = $expolygon->clip_line($line);
is_deeply $intersections, [
- [ [152, 287], [152, 214], ],
- [ [152, 107], [152, 35] ],
+ [ [152.742, 288.086660915295], [152.742, 215.178843238354], ],
+ [ [152.742, 108.087506777797], [152.742, 35.1664774739315] ],
], 'line is clipped to square with hole';
}