MCPcopy Create free account
hub / github.com/Geode-solutions/OpenGeode / test_cell_on_border

Function test_cell_on_border

tests/mesh/test-regular-grid.cpp:112–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112void test_cell_on_border( const geode::RegularGrid3D& grid )
113{
114 geode::OpenGeodeMeshException::test(
115 grid.is_cell_on_border( { { 0, 0, 0 } } ),
116 "Vertex is not on border where it should be." );
117 geode::OpenGeodeMeshException::test(
118 grid.is_cell_on_border( { { 4, 8, 13 } } ),
119 "Vertex is not on border where it should be." );
120 geode::OpenGeodeMeshException::test(
121 !grid.is_cell_on_border( { { 1, 2, 3 } } ),
122 "Vertex is on border where it should not be." );
123}
124
125void test_vertex_number( const geode::RegularGrid3D& grid )
126{

Callers

nothing calls this directly

Calls 2

testFunction · 0.70
is_cell_on_borderMethod · 0.45

Tested by

no test coverage detected