summaryrefslogtreecommitdiff
path: root/gerber/tests/test_gerber_statements.py
diff options
context:
space:
mode:
authorPaulo Henrique Silva <ph.silva@gmail.com>2015-04-14 23:31:15 -0300
committerPaulo Henrique Silva <ph.silva@gmail.com>2015-04-14 23:31:15 -0300
commit0c54a20263ea193b92674b8f74191bcf957f73fe (patch)
treec8ba1bbebf05e42ae7d2d26cd4696b96b690d5c1 /gerber/tests/test_gerber_statements.py
parent51c630ab77e390cc4a5637fd4b99fb9a6bebcce5 (diff)
downloadgerbonara-0c54a20263ea193b92674b8f74191bcf957f73fe.tar.gz
gerbonara-0c54a20263ea193b92674b8f74191bcf957f73fe.tar.bz2
gerbonara-0c54a20263ea193b92674b8f74191bcf957f73fe.zip
Fix AM statement test
Diffstat (limited to 'gerber/tests/test_gerber_statements.py')
-rw-r--r--gerber/tests/test_gerber_statements.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gerber/tests/test_gerber_statements.py b/gerber/tests/test_gerber_statements.py
index 831ff3a..a8a4a1a 100644
--- a/gerber/tests/test_gerber_statements.py
+++ b/gerber/tests/test_gerber_statements.py
@@ -364,11 +364,11 @@ def testAMParamStmt_conversion():
def test_AMParamStmt_dump():
name = 'POLYGON'
- macro = '5,1,8,25.4,25.4,25.4,0*'
+ macro = '5,1,8,25.4,25.4,25.4,0'
s = AMParamStmt.from_dict({'param': 'AM', 'name': name, 'macro': macro })
s.build()
- assert_equal(s.to_gerber(), '%AMPOLYGON*5,1,8,25.4,25.4,25.4,0.0*%')
+ assert_equal(s.to_gerber(), '%AMPOLYGON*5,1,8,25.4,25.4,25.4,0*%')
def test_AMParamStmt_string():
name = 'POLYGON'