| 52 | } |
| 53 | |
| 54 | void test_cell_size( const geode::RegularGrid3D& grid ) |
| 55 | { |
| 56 | geode::OpenGeodeMeshException::test( |
| 57 | grid.cell_length_in_direction( 0 ) == 1, |
| 58 | "Wrong length of cells along X" ); |
| 59 | geode::OpenGeodeMeshException::test( |
| 60 | grid.cell_length_in_direction( 1 ) == 2, |
| 61 | "Wrong length of cells along Y" ); |
| 62 | geode::OpenGeodeMeshException::test( |
| 63 | grid.cell_length_in_direction( 2 ) == 3, |
| 64 | "Wrong length of cells along Z" ); |
| 65 | geode::OpenGeodeMeshException::test( |
| 66 | grid.cell_size() == 6, "Wrong cell size" ); |
| 67 | } |
| 68 | |
| 69 | void test_cell_index( const geode::RegularGrid3D& grid ) |
| 70 | { |
nothing calls this directly
no test coverage detected