1
0
ergogen/test/helpers/point.js

6 lines
224 B
JavaScript
Raw Permalink Normal View History

2021-05-22 08:58:26 -07:00
exports.check = (point, expected=[]) => {
point.x.should.equal(expected[0] || 0)
point.y.should.equal(expected[1] || 0)
point.r.should.equal(expected[2] || 0)
point.meta.should.deep.equal(expected[3] || {})
}