mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 13:02:39 -07:00
Fixed a 32bit build bug in the new PlaceholderParser macro processor.
This commit is contained in:
@@ -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)';
|
||||
}
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user