The test expect that create_triangle(0) creates 1x1 matrix and then call free_triangle(1, matrix).
It feels very odd that the sizes given to create and free are different.
The test expect that create_triangle(0) creates 1x1 matrix and then call free_triangle(1, matrix).
It feels very odd that the sizes given to create and free are different.