@@ -109,12 +109,30 @@ test('should print to the console using console.debug the final positions of the
109
109
110
110
await simulateMission ( inputFile , true ) ;
111
111
112
- expect ( debugSpy ) . toHaveBeenNthCalledWith ( 1 , "(0,5) | (1,5) | (2,5) | (3,5) | (4,5) | (5,5)" ) ;
113
- expect ( debugSpy ) . toHaveBeenNthCalledWith ( 2 , "(0,4) | (1,4) | (2,4) | (3,4) | (4,4) | (5,4)" ) ;
114
- expect ( debugSpy ) . toHaveBeenNthCalledWith ( 3 , "(0,3) | N | (2,3) | (3,3) | (4,3) | (5,3)" ) ;
115
- expect ( debugSpy ) . toHaveBeenNthCalledWith ( 4 , "(0,2) | (1,2) | (2,2) | (3,2) | (4,2) | (5,2)" ) ;
116
- expect ( debugSpy ) . toHaveBeenNthCalledWith ( 5 , "(0,1) | (1,1) | (2,1) | (3,1) | (4,1) | E " ) ;
117
- expect ( debugSpy ) . toHaveBeenNthCalledWith ( 6 , "(0,0) | (1,0) | (2,0) | (3,0) | (4,0) | (5,0)" ) ;
112
+ expect ( debugSpy ) . toHaveBeenNthCalledWith (
113
+ 1 ,
114
+ '(0,5) | (1,5) | (2,5) | (3,5) | (4,5) | (5,5)' ,
115
+ ) ;
116
+ expect ( debugSpy ) . toHaveBeenNthCalledWith (
117
+ 2 ,
118
+ '(0,4) | (1,4) | (2,4) | (3,4) | (4,4) | (5,4)' ,
119
+ ) ;
120
+ expect ( debugSpy ) . toHaveBeenNthCalledWith (
121
+ 3 ,
122
+ '(0,3) | N | (2,3) | (3,3) | (4,3) | (5,3)' ,
123
+ ) ;
124
+ expect ( debugSpy ) . toHaveBeenNthCalledWith (
125
+ 4 ,
126
+ '(0,2) | (1,2) | (2,2) | (3,2) | (4,2) | (5,2)' ,
127
+ ) ;
128
+ expect ( debugSpy ) . toHaveBeenNthCalledWith (
129
+ 5 ,
130
+ '(0,1) | (1,1) | (2,1) | (3,1) | (4,1) | E ' ,
131
+ ) ;
132
+ expect ( debugSpy ) . toHaveBeenNthCalledWith (
133
+ 6 ,
134
+ '(0,0) | (1,0) | (2,0) | (3,0) | (4,0) | (5,0)' ,
135
+ ) ;
118
136
} ) ;
119
137
120
138
test ( 'should error if no input file path is provided and no default input file path is set' , async ( ) => {
0 commit comments