This repository has been archived on 2023-03-25. You can view files and clone it, but cannot push or open issues or pull requests.
mightyscape-1.1-deprecated/extensions/fablabchemnitz/papercraft/openjscad/node_modules/sylvester/test/line-segment.test.js

10 lines
261 B
JavaScript

import { expect } from 'chai';
import { Line } from '../src';
describe('line segment', () => {
it('should create', () => {
const lineSegment = Line.Segment.create([1, 2], [5, 6]);
expect(lineSegment.line.anchor).to.vector.equal([1, 2, 0]);
});
});