Skip to content

Commit ae10d42

Browse files
author
Gonzalo Diaz
committed
[REFACTOR] test code de-duplication.
1 parent 3b0c064 commit ae10d42

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/projecteuler/helpers/divisors.test.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -110,20 +110,6 @@ describe('divisors of a number', () => {
110110
expect(isPrime(3000)).toBe(false);
111111
});
112112

113-
it('abundance of a integer number compared to enum', () => {
114-
expect.assertions(3);
115-
116-
expect(abundance(10)).toStrictEqual(
117-
___DIVISORS_ABUNDANCE___.DIVISORS_DEFICIENT
118-
);
119-
expect(abundance(12)).toStrictEqual(
120-
___DIVISORS_ABUNDANCE___.DIVISORS_ABUNDANT
121-
);
122-
expect(abundance(28)).toStrictEqual(
123-
___DIVISORS_ABUNDANCE___.DIVISORS_PERFECT
124-
);
125-
});
126-
127113
it('abundance of a integer number compared to constants', () => {
128114
expect.assertions(3);
129115

0 commit comments

Comments
 (0)