Add unit test for anchors

This commit is contained in:
Bán Dénes 2021-05-22 17:58:26 +02:00
parent 76bb07183b
commit c7b86c7556
4 changed files with 128 additions and 17 deletions

View file

@ -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() {