Fix AM statement test
This commit is contained in:
parent
51c630ab77
commit
0c54a20263
1 changed files with 2 additions and 2 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue