diff options
author | Hamilton Kibbe <hamilton.kibbe@gmail.com> | 2014-10-07 00:16:39 -0400 |
---|---|---|
committer | Hamilton Kibbe <hamilton.kibbe@gmail.com> | 2014-10-07 00:16:39 -0400 |
commit | f7c19398730d95bd4f34834ebcf66d9a68273055 (patch) | |
tree | 2e5204513c430019550956697c5fc4b3ad8f9f01 /gerber/tests/test_gerber_statements.py | |
parent | 7f75e8b9e9e338f16f215b2552db9ad9a0a50781 (diff) | |
download | gerbonara-f7c19398730d95bd4f34834ebcf66d9a68273055.tar.gz gerbonara-f7c19398730d95bd4f34834ebcf66d9a68273055.tar.bz2 gerbonara-f7c19398730d95bd4f34834ebcf66d9a68273055.zip |
add tests
Diffstat (limited to 'gerber/tests/test_gerber_statements.py')
-rw-r--r-- | gerber/tests/test_gerber_statements.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gerber/tests/test_gerber_statements.py b/gerber/tests/test_gerber_statements.py index 7495ba7..7c01130 100644 --- a/gerber/tests/test_gerber_statements.py +++ b/gerber/tests/test_gerber_statements.py @@ -90,7 +90,7 @@ def test_IPParamStmt_dump(): def test_OFParamStmt_factory(): """ Test OFParamStmt factory correctly handles parameters """ - stmt = {'param': 'OF', 'a': '0.1234567', 'b':'0.1234567'} + stmt = {'param': 'OF', 'a': '0.1234567', 'b': '0.1234567'} of = OFParamStmt.from_dict(stmt) assert_equal(of.a, 0.1234567) assert_equal(of.b, 0.1234567) @@ -102,4 +102,3 @@ def test_OFParamStmt_dump(): stmt = {'param': 'OF', 'a': '0.1234567', 'b': '0.1234567'} of = OFParamStmt.from_dict(stmt) assert_equal(of.to_gerber(), '%OFA0.123456B0.123456*%') - |