generic tests in test_layout.c. It is now possible to test new layouts by providing a constructor.
This is modification on layout tests to ease future integration of layout implementations.
Compared to previous versions, tests on non dense layout cover more cases.
Layouts are filled with element coordinates. It becomes easy to check the result from deref()
, slice()
etc
by looking at the content of the layout.