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
path: root/t
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2017-11-29 21:27:26 +0300
committerbubnikv <bubnikv@gmail.com>2017-11-29 21:27:26 +0300
commitae118519abdf6dfbcf3eab34fe5b3e2efcbec600 (patch)
treee82085bc517e3ff5be4226698f5d0c6bbd62aa1c /t
parentda8ffd477d04a34c3ab2e4ce6a851cc61e173b29 (diff)
Fixed a 32bit build bug in the new PlaceholderParser macro processor.
Diffstat (limited to 't')
-rw-r--r--t/custom_gcode.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/custom_gcode.t b/t/custom_gcode.t
index 9f66a47df..1ccf738aa 100644
--- a/t/custom_gcode.t
+++ b/t/custom_gcode.t
@@ -1,4 +1,4 @@
-use Test::More tests => 48;
+use Test::More tests => 49;
use strict;
use warnings;
@@ -66,6 +66,7 @@ use Slic3r::Test;
is $parser->process('{2*(3-12)}'), '-18', 'math: 2*(3-12)';
is $parser->process('{2*foo*(3-12)}'), '0', 'math: 2*foo*(3-12)';
is $parser->process('{2*bar*(3-12)}'), '-36', 'math: 2*bar*(3-12)';
+ ok abs($parser->process('{2.5*bar*(3-12)}') - -45) < 1e-7, 'math: 2.5*bar*(3-12)';
}
{