giagitom 1 year ago
parent
commit
0e32e0a785
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/mol-math/linear-algebra/_spec/principal-axes.spec.ts

+ 4 - 4
src/mol-math/linear-algebra/_spec/principal-axes.spec.ts

@@ -9,11 +9,11 @@ import { PrincipalAxes } from '../matrix/principal-axes';
 
 describe('PrincipalAxes', () => {
     it('same-cartesian-plane', () => {
-        const positions : NumberArray = [ //same y coordinate
+        const positions: NumberArray = [ // same y coordinate
             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;
-        expect( origin[0] !== Infinity && origin[1] !== Infinity && origin[2] !== Infinity ).toBe(true);
+        const { origin } = PrincipalAxes.ofPositions(positions).boxAxes;
+        expect(origin[0] !== Infinity && origin[1] !== Infinity && origin[2] !== Infinity).toBe(true);
     });
 });