| 40 | #include <geode/tests/common.hpp> |
| 41 | |
| 42 | void test_cell_number( const geode::RegularGrid3D& grid ) |
| 43 | { |
| 44 | geode::OpenGeodeMeshException::test( |
| 45 | grid.nb_polyhedra() == 750, "Wrong total number of cells" ); |
| 46 | geode::OpenGeodeMeshException::test( grid.nb_cells_in_direction( 0 ) == 5, |
| 47 | "Wrong total number of cells along X" ); |
| 48 | geode::OpenGeodeMeshException::test( grid.nb_cells_in_direction( 1 ) == 10, |
| 49 | "Wrong total number of cells along Y" ); |
| 50 | geode::OpenGeodeMeshException::test( grid.nb_cells_in_direction( 2 ) == 15, |
| 51 | "Wrong total number of cells along Z" ); |
| 52 | } |
| 53 | |
| 54 | void test_cell_size( const geode::RegularGrid3D& grid ) |
| 55 | { |
no test coverage detected