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

Function test

tests/mesh/test-triangulated-surface.cpp:307–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

305}
306
307void test()
308{
309 geode::OpenGeodeMeshLibrary::initialize();
310 auto surface = geode::TriangulatedSurface3D::create(
311 geode::OpenGeodeTriangulatedSurface3D::impl_name_static() );
312 auto builder = geode::TriangulatedSurfaceBuilder3D::create( *surface );
313
314 test_create_vertices( *surface, *builder );
315 test_create_polygons( *surface, *builder );
316 test_polygon_adjacencies( *surface, *builder );
317 test_io( *surface, absl::StrCat( "test.", surface->native_extension() ) );
318
319 test_permutation( *surface, *builder );
320 test_delete_polygon( *surface, *builder );
321 test_clone( *surface );
322}
323
324OPENGEODE_TEST( "triangulated-surface" )

Callers 8

test_create_verticesFunction · 0.70
test_create_polygonsFunction · 0.70
test_polygon_adjacenciesFunction · 0.70
test_permutationFunction · 0.70
test_delete_polygonFunction · 0.70
test_ioFunction · 0.70
test_cloneFunction · 0.70
test_delete_allFunction · 0.70

Calls 10

initializeFunction · 0.85
test_create_verticesFunction · 0.70
test_create_polygonsFunction · 0.70
test_polygon_adjacenciesFunction · 0.70
test_ioFunction · 0.70
test_permutationFunction · 0.70
test_delete_polygonFunction · 0.70
test_cloneFunction · 0.70
impl_name_staticFunction · 0.50
native_extensionMethod · 0.45

Tested by

no test coverage detected