Skip to content
Snippets Groups Projects
Commit 3b6a50c0 authored by Arnaud Albiez's avatar Arnaud Albiez
Browse files

Ajout des test pour la fonction change_grid

parent d2cdb8ed
Branches
No related merge requests found
......@@ -15,4 +15,13 @@ CESTER_TEST(test_grid_get_cell, grid,
}
)
CESTER_TEST(test_grid_change_cell, grid,
{
struct Grid* grid = grid_new(5, 5);
change_cell_grid(grid, 1, 2, GOAL);
Affichage_grid(grid);
cester_assert_equal(GOAL, get_grid(grid, 1, 2));
}
)
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment