Skip to content

Commit

Permalink
Adjust floating point tolerances
Browse files Browse the repository at this point in the history
  • Loading branch information
ezzatron committed Apr 28, 2024
1 parent a4bc193 commit 95055e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/vitest/n_EA_E_and_p_AB_E2n_EB_E.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ describe("n_EA_E_and_p_AB_E2n_EB_E()", () => {
expect.any(Number),
expect.any(Number),
]);
expect(actualVector[0]).toBeCloseTo(expectedVector[0], 13);
expect(actualVector[1]).toBeCloseTo(expectedVector[1], 13);
expect(actualVector[2]).toBeCloseTo(expectedVector[2], 13);
expect(actualVector[0]).toBeCloseTo(expectedVector[0], 12);
expect(actualVector[1]).toBeCloseTo(expectedVector[1], 12);
expect(actualVector[2]).toBeCloseTo(expectedVector[2], 12);
expect(actualDepth).toBeCloseTo(expectedDepth, 7);
},
TEST_DURATION + 1000,
Expand Down

0 comments on commit 95055e1

Please sign in to comment.