@@ -5,41 +5,41 @@ const partTwo = require('./partTwo');
5
5
describe ( 'Day 1: Inverse Captcha' , ( ) => {
6
6
describe ( 'Part 1' , ( ) => {
7
7
it ( 'should evaluate captcha 1122' , ( ) => {
8
- assert . equal ( 3 , partOne ( [ 1 , 1 , 2 , 2 ] ) ) ;
8
+ assert . strictEqual ( 3 , partOne ( [ 1 , 1 , 2 , 2 ] ) ) ;
9
9
} ) ;
10
10
11
11
it ( 'should evaluate captcha 1111' , ( ) => {
12
- assert . equal ( 4 , partOne ( [ 1 , 1 , 1 , 1 ] ) ) ;
12
+ assert . strictEqual ( 4 , partOne ( [ 1 , 1 , 1 , 1 ] ) ) ;
13
13
} ) ;
14
14
15
15
it ( 'should evaluate captcha 1234' , ( ) => {
16
- assert . equal ( 0 , partOne ( [ 1 , 2 , 3 , 4 ] ) ) ;
16
+ assert . strictEqual ( 0 , partOne ( [ 1 , 2 , 3 , 4 ] ) ) ;
17
17
} ) ;
18
18
19
19
it ( 'should evaluate captcha 91212129' , ( ) => {
20
- assert . equal ( 9 , partOne ( [ 9 , 1 , 2 , 1 , 2 , 1 , 2 , 9 ] ) ) ;
20
+ assert . strictEqual ( 9 , partOne ( [ 9 , 1 , 2 , 1 , 2 , 1 , 2 , 9 ] ) ) ;
21
21
} ) ;
22
22
} ) ;
23
23
24
24
describe ( 'Part 2' , ( ) => {
25
25
it ( 'should evaluate captcha 1212' , ( ) => {
26
- assert . equal ( 6 , partTwo ( [ 1 , 2 , 1 , 2 ] ) ) ;
26
+ assert . strictEqual ( 6 , partTwo ( [ 1 , 2 , 1 , 2 ] ) ) ;
27
27
} ) ;
28
28
29
29
it ( 'should evaluate captcha 1221' , ( ) => {
30
- assert . equal ( 0 , partTwo ( [ 1 , 2 , 2 , 1 ] ) ) ;
30
+ assert . strictEqual ( 0 , partTwo ( [ 1 , 2 , 2 , 1 ] ) ) ;
31
31
} ) ;
32
32
33
33
it ( 'should evaluate captcha 123425' , ( ) => {
34
- assert . equal ( 4 , partTwo ( [ 1 , 2 , 3 , 4 , 2 , 5 ] ) ) ;
34
+ assert . strictEqual ( 4 , partTwo ( [ 1 , 2 , 3 , 4 , 2 , 5 ] ) ) ;
35
35
} ) ;
36
36
37
37
it ( 'should evaluate captcha 123123' , ( ) => {
38
- assert . equal ( 12 , partTwo ( [ 1 , 2 , 3 , 1 , 2 , 3 ] ) ) ;
38
+ assert . strictEqual ( 12 , partTwo ( [ 1 , 2 , 3 , 1 , 2 , 3 ] ) ) ;
39
39
} ) ;
40
40
41
41
it ( 'should evaluate captcha 12131415' , ( ) => {
42
- assert . equal ( 4 , partTwo ( [ 1 , 2 , 1 , 3 , 1 , 4 , 1 , 5 ] ) ) ;
42
+ assert . strictEqual ( 4 , partTwo ( [ 1 , 2 , 1 , 3 , 1 , 4 , 1 , 5 ] ) ) ;
43
43
} ) ;
44
44
} ) ;
45
45
} ) ;
0 commit comments