@ -64,16 +64,7 @@ short lab_can_move(Field_State** field, unsigned short x, unsigned short y, Dire
if (y >= len_y){
return 1;
}
if (direction == N && field[x][y] == WALL){
if (direction == E && field[x][y] == WALL){
if (direction == S && field[x][y] == WALL){
if (direction == W && field[x][y] == WALL){
if (field[x][y] == WALL){
@ -607,11 +607,3 @@ void test_lab_can_move_at_1_1_direction_W_target_WALL_expected_1(void)
free(field);
xxxxxxxxxx
xxxxxxxxxx