giagitom преди 1 година
родител
ревизия
0e32e0a785
променени са 1 файла, в които са добавени 4 реда и са изтрити 4 реда
  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);
     });
 });