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

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/xs
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2019-08-08 10:45:42 +0300
committerbubnikv <bubnikv@gmail.com>2019-08-08 10:45:42 +0300
commitb7f93292fa147d9f6bfd0ca7ae7df03728fe0c7b (patch)
treece4cda96e266b0f793690465103bf68d6bd5ab70 /xs
parent75f36b83d5e202c4c5c62c2153a3a607007ec30d (diff)
FIx of Single test suite failure on two minority architectures #2461
Diffstat (limited to 'xs')
-rw-r--r--xs/t/03_point.t2
1 files changed, 1 insertions, 1 deletions
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()');
}
{