@@ -5,35 +5,35 @@ describe('add', function() {
5
5
expect ( calculator . add ( 0 , 0 ) ) . toEqual ( 0 ) ;
6
6
} ) ;
7
7
8
- xit ( 'adds 2 and 2' , function ( ) {
8
+ it ( 'adds 2 and 2' , function ( ) {
9
9
expect ( calculator . add ( 2 , 2 ) ) . toEqual ( 4 ) ;
10
10
} ) ;
11
11
12
- xit ( 'adds positive numbers' , function ( ) {
12
+ it ( 'adds positive numbers' , function ( ) {
13
13
expect ( calculator . add ( 2 , 6 ) ) . toEqual ( 8 ) ;
14
14
} ) ;
15
15
} ) ;
16
16
17
17
describe ( 'subtract' , function ( ) {
18
- xit ( 'subtracts numbers' , function ( ) {
18
+ it ( 'subtracts numbers' , function ( ) {
19
19
expect ( calculator . subtract ( 10 , 4 ) ) . toEqual ( 6 ) ;
20
20
} ) ;
21
21
} ) ;
22
22
23
23
describe ( 'sum' , function ( ) {
24
- xit ( 'computes the sum of an empty array' , function ( ) {
24
+ it ( 'computes the sum of an empty array' , function ( ) {
25
25
expect ( calculator . sum ( [ ] ) ) . toEqual ( 0 ) ;
26
26
} ) ;
27
27
28
- xit ( 'computes the sum of an array of one number' , function ( ) {
28
+ it ( 'computes the sum of an array of one number' , function ( ) {
29
29
expect ( calculator . sum ( [ 7 ] ) ) . toEqual ( 7 ) ;
30
30
} ) ;
31
31
32
- xit ( 'computes the sum of an array of two numbers' , function ( ) {
32
+ it ( 'computes the sum of an array of two numbers' , function ( ) {
33
33
expect ( calculator . sum ( [ 7 , 11 ] ) ) . toEqual ( 18 ) ;
34
34
} ) ;
35
35
36
- xit ( 'computes the sum of an array of many numbers' , function ( ) {
36
+ it ( 'computes the sum of an array of many numbers' , function ( ) {
37
37
expect ( calculator . sum ( [ 1 , 3 , 5 , 7 , 9 ] ) ) . toEqual ( 25 ) ;
38
38
} ) ;
39
39
} ) ;
0 commit comments