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:
Luke Kershaw 2023-01-23 09:02:08 +00:00 committed by GitHub
parent 3746900490
commit e0eb43566f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
35 changed files with 2842 additions and 37 deletions

View file

@ -56,6 +56,21 @@ describe('Anchor', function() {
}, 'name', points)(),
[5, 5, -45, {}]
)
// empty parts
check(
parse({
aggregate: {
}
}, 'name', points)(),
[0, 0, 0, {}]
)
// can't have aggregate and ref together
parse({
aggregate: {
parts: ['o', 'ten']
},
ref : 'ten'
}, 'name', points).should.throw()
})
it('shift', function() {