From b7f93292fa147d9f6bfd0ca7ae7df03728fe0c7b Mon Sep 17 00:00:00 2001 From: bubnikv Date: Thu, 8 Aug 2019 09:45:42 +0200 Subject: [PATCH] FIx of Single test suite failure on two minority architectures #2461 --- xs/t/03_point.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xs/t/03_point.t b/xs/t/03_point.t index cb71f68f5..c950998fb 100644 --- a/xs/t/03_point.t +++ b/xs/t/03_point.t @@ -44,7 +44,7 @@ ok !$point->coincides_with($point2), 'coincides_with'; { my $line = Slic3r::Line->new([50,50], [125,-25]); - is +Slic3r::Point->new(100,0)->distance_to_line($line), 0, 'distance_to_line()'; + cmp_ok(abs(Slic3r::Point->new(100,0)->distance_to_line($line)), '<=', 4e-15, 'distance_to_line()'); } {