Expand test coverage (#77)
* ignore line endings in cli tests * ignore line endings in integration tests * expand code coverage for `choc` footprint * expand code coverage for `chocmini` footprint * expand code coverage for `mx` footprint * expand code coverage for `pad` footprint * expand code coverage for rest of footprints * expand code coverage for `anchor.js` * expand code coverage for `units.js` * expand code coverage for `points.js` * expand code coverage for `filter.js` * expand code coverage for `outlines.js` * expand code coverage for `pcbs.js` * expand code coverage for `ergogen.js` * expand code coverage for `kle.js` * more code coverage for `outlines.js` * expand code coverage for `cases.js`
This commit is contained in:
parent
3746900490
commit
e0eb43566f
35 changed files with 2842 additions and 37 deletions
|
@ -3,6 +3,7 @@ exports.inject = (ergogen) => {
|
|||
params: {
|
||||
designator: 'T',
|
||||
side: 'F',
|
||||
width: 0.25,
|
||||
P1: {type: 'net', value: 'P1'}
|
||||
},
|
||||
body: p => {
|
||||
|
@ -20,7 +21,7 @@ exports.inject = (ergogen) => {
|
|||
|
||||
)
|
||||
|
||||
(segment (start ${p.sxy(0, 0)}) (end ${p.sxy(5, 5)}) (width 0.25) (layer ${p.side}.Cu) (net ${p.P1.index}))
|
||||
(segment (start ${p.sxy(0, 0)}) (end ${p.sxy(5, 5)}) (width ${p.width}) (layer ${p.side}.Cu) (net ${p.P1.index}))
|
||||
|
||||
`
|
||||
}
|
||||
|
@ -106,7 +107,7 @@ exports.inject = (ergogen) => {
|
|||
}
|
||||
})
|
||||
|
||||
ergogen.inject('footprint', 'references_test', {
|
||||
ergogen.inject('references_test', {
|
||||
params: {},
|
||||
body: p => {
|
||||
return `references ${p.ref_hide ? 'hidden' : 'shown'}`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue