Skip to content
Snippets Groups Projects
Commit 0e32e0a7 authored by giagitom's avatar giagitom
Browse files

lint-fix

parent f2c607a4
Branches
Tags
No related merge requests found
...@@ -9,11 +9,11 @@ import { PrincipalAxes } from '../matrix/principal-axes'; ...@@ -9,11 +9,11 @@ import { PrincipalAxes } from '../matrix/principal-axes';
describe('PrincipalAxes', () => { describe('PrincipalAxes', () => {
it('same-cartesian-plane', () => { it('same-cartesian-plane', () => {
const positions : NumberArray = [ //same y coordinate const positions: NumberArray = [ // same y coordinate
0.1945, -0.0219, -0.0416, 0.1945, -0.0219, -0.0416,
-0.0219,-0.0219, -0.0119, -0.0219, -0.0219, -0.0119,
]; ];
const { origin, dirA, dirB, dirC } = PrincipalAxes.ofPositions(positions).boxAxes; const { origin } = PrincipalAxes.ofPositions(positions).boxAxes;
expect( origin[0] !== Infinity && origin[1] !== Infinity && origin[2] !== Infinity ).toBe(true); expect(origin[0] !== Infinity && origin[1] !== Infinity && origin[2] !== Infinity).toBe(true);
}); });
}); });
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment