Skip to content

Commit ee05ca9

Browse files
committed
feat| spec file fixed
1 parent 4d46031 commit ee05ca9

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

13_factorial/solution/factorial-solution.spec.js

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,37 +4,37 @@ describe('factorial', () => {
44
test('4th factorial number is 24', () => {
55
expect(factorial(4)).toBe(24);
66
});
7-
test.skip('6th factorial number is 720', () => {
7+
test('6th factorial number is 720', () => {
88
expect(factorial(6)).toBe(720);
99
});
10-
test.skip('10th factorial number is 3628800', () => {
10+
test('10th factorial number is 3628800', () => {
1111
expect(factorial(10)).toBe(3628800);
1212
});
13-
test.skip('15th factorial number is 1.3076744e+12', () => {
14-
expect(factorial(15)).toBe(1.3076744e12);
13+
test('15th factorial number is 1307674368000', () => {
14+
expect(factorial(15)).toBe(1307674368000);
1515
});
16-
test.skip('25th factorial number is 1.551121e+25', () => {
17-
expect(factorial(25)).toBe(1.551121e25);
16+
test('25th factorial number is 1.5511210043330986e+255', () => {
17+
expect(factorial(25)).toBe(1.5511210043330986e+25);
1818
});
19-
test.skip('0th factorial number is 1', () => {
19+
test('0th factorial number is 1', () => {
2020
expect(factorial(0)).toBe(1);
2121
});
22-
test.skip('doesn\'t accept negatives', () => {
22+
test('doesn\'t accept negatives', () => {
2323
expect(factorial(-25)).toBe(undefined);
2424
});
25-
test.skip('doesn\'t accept floats', () => {
25+
test('doesn\'t accept floats', () => {
2626
expect(factorial(5.4)).toBe(undefined);
2727
});
28-
test.skip('DOES accept strings', () => {
28+
test('DOES accept strings', () => {
2929
expect(factorial("0")).toBe(1);
3030
});
31-
test.skip('DOES accept strings', () => {
31+
test('DOES accept strings', () => {
3232
expect(factorial("1")).toBe(1);
3333
});
34-
test.skip('DOES accept strings', () => {
34+
test('DOES accept strings', () => {
3535
expect(factorial("2")).toBe(2);
3636
});
37-
test.skip('DOES accept strings', () => {
37+
test('DOES accept strings', () => {
3838
expect(factorial("8")).toBe(40320);
3939
});
4040
});

0 commit comments

Comments
 (0)