Add unit test for anchors
This commit is contained in:
parent
76bb07183b
commit
c7b86c7556
4 changed files with 128 additions and 17 deletions
|
@ -1,12 +1,6 @@
|
|||
const m = require('makerjs')
|
||||
const Point = require('../../src/point')
|
||||
|
||||
const check = (point, expected) => {
|
||||
point.x.should.equal(expected[0])
|
||||
point.y.should.equal(expected[1])
|
||||
point.r.should.equal(expected[2])
|
||||
point.meta.should.deep.equal(expected[3])
|
||||
}
|
||||
const {check} = require('../helpers/point')
|
||||
|
||||
describe('Point', function() {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue