Skip to content

Commit

Permalink
Merge pull request #9 from goseind/unit_tests
Browse files Browse the repository at this point in the history
correct error for ci testing
  • Loading branch information
goseind authored Nov 24, 2023
2 parents 05ede9d + fdf9035 commit 19d9472
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kryptolearn/__tests__/algorithms.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ test('calculate x = 371 and y = -25 for 456 and 6767', () => {
});

test('calcualte product of mods 2,3,5,7 to be 210, 105, 70, 42, 30', () => {
expect(precrt([2,3,5,7]).bigM).toEqual([20, 105, 70, 42, 30]);
expect(precrt([2,3,5,7]).bigM).toEqual([210, 105, 70, 42, 30]);
});

test('calculate crt of mods 2,3,5,7 and remainders 1,1,1,0 sum equal to 91', () => {
Expand Down

0 comments on commit 19d9472

Please sign in to comment.