In the test case "Should work with complex path (7x7 map)", I got this failure:
Should work with complex path (7x7 map)
Should return the right moves
expected: Just [D,D,R,R,R,R,R,D,D,L,D,L,U,L,L,D,L,D]
but got: Just [D,D,R,R,R,R,R,D,D,L,L,L,L,D,L,D]
D,L,U has been replaced with L.
It seems to be the valid answer as well.
Ok, thank you 😂
In the test case "Should work with complex path (7x7 map)", I got this failure:
D,L,U
has been replaced withL
.It seems to be the valid answer as well.