diff options
author | bubnikv <bubnikv@gmail.com> | 2019-08-08 10:45:42 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2019-08-08 10:45:42 +0300 |
commit | b7f93292fa147d9f6bfd0ca7ae7df03728fe0c7b (patch) | |
tree | ce4cda96e266b0f793690465103bf68d6bd5ab70 /xs | |
parent | 75f36b83d5e202c4c5c62c2153a3a607007ec30d (diff) |
FIx of Single test suite failure on two minority architectures #2461
Diffstat (limited to 'xs')
-rw-r--r-- | xs/t/03_point.t | 2 |
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()'); } { |