FIx of Single test suite failure on two minority architectures #2461

This commit is contained in:
bubnikv 2019-08-08 09:45:42 +02:00
parent 75f36b83d5
commit b7f93292fa

View File

@ -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()');
}
{