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-07-15 17:26:56 +0400
committerAlessandro Ranellucci <aar@cpan.org>2013-07-15 17:26:56 +0400
commit159a009f96ec2bcdbd5af6f4f71c1b50f3a3e10f (patch)
tree4b34f5454144f1dcb1ddedca6c1ecb8bbf98cdd7 /t/shells.t
parente485f0b130d5aad46cf62bd1e366a300cb642d34 (diff)
Fix tests here and there
Diffstat (limited to 't/shells.t')
-rw-r--r--t/shells.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/shells.t b/t/shells.t
index 7abca9b13..c24867256 100644
--- a/t/shells.t
+++ b/t/shells.t
@@ -42,11 +42,11 @@ use Slic3r::Test;
fail "insufficient number of bottom solid layers"
unless !defined(first { !$_ } @shells[0..$config->bottom_solid_layers-1]);
fail "excessive number of bottom solid layers"
- unless scalar(grep $_, @shells[0 .. $#shells/2]) != $config->bottom_solid_layers;
+ unless scalar(grep $_, @shells[0 .. $#shells/2]) == $config->bottom_solid_layers;
fail "insufficient number of top solid layers"
unless !defined(first { !$_ } @shells[-$config->top_solid_layers..-1]);
fail "excessive number of top solid layers"
- unless scalar(grep $_, @shells[($#shells/2)..$#shells]) != $config->top_solid_layers;
+ unless scalar(grep $_, @shells[($#shells/2)..$#shells]) == $config->top_solid_layers;
1;
};