We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07f3699 commit 1242e5aCopy full SHA for 1242e5a
Recursive/test/EucledianGCD.test.js
@@ -1,13 +1,13 @@
1
-import { euclideanGCDIterative } from "../EucledianGCD";
+import { euclideanGCDIterative as GCD } from "../EucledianGCD";
2
3
describe('EucledianGCD', () => {
4
it('the GCD of 2 and 3 should be 1', () => {
5
- expect(euclideanGCDIterative(2,3)).toBe(1);
+ expect(GCD(2,3)).toBe(1);
6
})
7
it('the GCD of 2 and 8 should be 2', () => {
8
- expect(euclideanGCDIterative(2,8)).toBe(2);
+ expect(GCD(2,8)).toBe(2);
9
10
it('the GCD of 1 and 100 should be 1', () => {
11
- expect(euclideanGCDIterative(1,100)).toBe(1);
+ expect(GCD(1,100)).toBe(1);
12
13
0 commit comments