summaryrefslogtreecommitdiff
path: root/gerber/tests/test_gerber_statements.py
AgeCommit message (Collapse)AuthorFilesLines
2015-11-23Fix AMParamStmt to_gerber to write changes back.Paulo Henrique Silva1-2/+2
AMParamStmt was not calling to_gerber on each of its primitives on his own to_gerber method. That way primitives that changes after reading, such as when you call to_inch/to_metric was failing because it was writing only the original macro back.
2015-05-20Add support for PCBmodE generated files.Paulo Henrique Silva1-0/+18
PCBmodE uses a standard but probably undefined behaviour issue on Gerber where it defines circle apertures with a single modifier but leaves a trilling 'X' after it. 'X' is modifiers separator but when there is only one modifier the behaviour is undefined. For parsing we are just ignoring blank modifiers. Test updated to catch this case.
2015-05-16Add checks to ensure statement unit conversions are idempotentHamilton Kibbe1-4/+148
2015-04-14Fix AM statement testPaulo Henrique Silva1-2/+2
2015-04-07Small change on __str__ for SF StatementPaulo Henrique Silva1-1/+1
2015-03-05Fix tests for macros with no variables.Paulo Henrique Silva1-5/+11
All AM*Primitive classes now handles float for all but the code modifiers. This simplifies the reading/parsing.
2015-02-18Add offset operationHamilton Kibbe1-27/+31
2015-02-18Python 3 tests passingHamilton Kibbe1-1/+2
2015-02-18Get unit conversion working for Gerber/Excellon filesHamilton Kibbe1-1/+44
Started operations module for file operations/transforms
2015-02-15Tests and bugfixesHamilton Kibbe1-3/+70
2015-02-09Tests and bugfixesHamilton Kibbe1-13/+164
2015-02-02testsHamilton Kibbe1-35/+57
2015-01-26merge upstream changesHamilton Kibbe1-1/+1
2015-01-26Added some testsHamilton Kibbe1-0/+111
2014-11-10Bunch of small fixes to improve Gerber read/write.Paulo Henrique Silva1-4/+4
2014-10-10Added excellon format detectionHamilton Kibbe1-16/+60
2014-10-10Add testsHamilton Kibbe1-0/+155
2014-10-07add testsHamilton Kibbe1-2/+1
2014-10-06add testsHamilton Kibbe1-0/+9
2014-10-06add excellon statementsHamilton Kibbe1-0/+96