MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / testLargeComponents

Function testLargeComponents

source/MRTestC2/MRMeshComponents.c:83–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83void testLargeComponents( void )
84{
85 CreatedMesh m = createMesh();
86
87 MR_FaceBitSet* components = MR_MeshComponents_getLargeByAreaComponents_3( m.part, 0.1f, NULL );
88 TEST_ASSERT( MR_FaceBitSet_test( components, (MR_FaceId){0} ) );
89 TEST_ASSERT( !MR_FaceBitSet_test( components, (MR_FaceId){12} ) );
90
91 MR_FaceBitSet_Destroy( components );
92
93 destroyMesh( m );
94}
95
96void testLargestComponent( void )
97{

Callers

nothing calls this directly

Calls 2

createMeshFunction · 0.85
destroyMeshFunction · 0.85

Tested by

no test coverage detected