|
|
@ -207,7 +207,7 @@ void test_set_wall_at_0_0_expected_WALL(void) |
|
|
|
unsigned short y = 0; |
|
|
|
|
|
|
|
unsigned short len_x = 1, len_y = 1; |
|
|
|
State **field; |
|
|
|
Field_State **field; |
|
|
|
|
|
|
|
field = malloc(len_x * sizeof *field); |
|
|
|
for (int c_index = 0; c_index < len_x; c_index++){ |
|
|
@ -216,7 +216,7 @@ void test_set_wall_at_0_0_expected_WALL(void) |
|
|
|
|
|
|
|
field[x][y] = WAY; |
|
|
|
|
|
|
|
State expected = WALL; |
|
|
|
Field_State expected = WALL; |
|
|
|
|
|
|
|
/* act */ |
|
|
|
set_wall(field, x, y); |
|
|
|