@@ -4,34 +4,34 @@ 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 1307674368000' , ( ) => {
13+ test ( '15th factorial number is 1307674368000' , ( ) => {
1414 expect ( factorial ( 15 ) ) . toBe ( 1307674368000 ) ;
1515 } ) ;
16- test . skip ( '25th factorial number is 1.5511210043330986e+25' , ( ) => {
16+ test ( '25th factorial number is 1.5511210043330986e+25' , ( ) => {
1717 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 ( 'doesn\'t accept a number as a string' , ( ) => {
28+ test ( 'doesn\'t accept a number as a string' , ( ) => {
2929 expect ( factorial ( '5' ) ) . toBe ( undefined ) ;
3030 } ) ;
31- test . skip ( 'doesn\'t accept strings' , ( ) => {
31+ test ( 'doesn\'t accept strings' , ( ) => {
3232 expect ( factorial ( 'foo' ) ) . toBe ( undefined ) ;
3333 } ) ;
34- test . skip ( 'doesn\'t accept arrays' , ( ) => {
34+ test ( 'doesn\'t accept arrays' , ( ) => {
3535 expect ( factorial ( [ 5 ] ) ) . toBe ( undefined ) ;
3636 } ) ;
3737} ) ;
0 commit comments