gcanvas
Version:
A Canvas API implementation that generates Gcode
15 lines (11 loc) • 320 B
JavaScript
describe('Path', function() {
var expect = require('chai').expect
, Path = require('../lib/path');
// it('#getLength', function() {
// var path = new Path();
// path.moveTo(20,20);
// path.lineTo(100,100);
// path.lineTo(100,110);
// expect(path.getLength()).closeTo(123,1);
// });
});