summaryrefslogtreecommitdiff
path: root/gerber/tests/test_gerber_statements.py
AgeCommit message (Collapse)AuthorFilesLines
2021-06-13Repo re-org, make gerberex tests runjaseg1-959/+0
2019-11-26Migrate to pytest (#111)Paulo Henrique Silva1-414/+421
* Migrate to pytest All tests were update to use pytest. Tests were alse black formatted. Eventually all code will be black formatted but need to merge some PRs first.
2016-11-06Merge upstream changesHamilton Kibbe1-1/+3
2016-08-06Manually mere rendering changesHamilton Kibbe1-34/+111
2016-01-21Fix a bunch of rendering bugs.Hamilton Kibbe1-34/+111
- 'clear' polarity primitives no longer erase background - Added aperture macro support for polygons - Added aperture macro rendring support - Renderer now creates a new surface for each layer and merges them instead of working directly on a single surface - Updated examples accordingly
2015-12-06Add test case to start working on a fixPaulo Henrique Silva1-1/+4
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