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

Function testGetComponent

source/MRTestC2/MRMeshComponents.c:111–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111void testGetComponent( void )
112{
113 CreatedMesh m = createMesh();
114
115 MR_FaceBitSet* component = MR_MeshComponents_getComponent( m.part, (MR_FaceId){12}, NULL, NULL );
116
117 TEST_ASSERT( MR_FaceBitSet_test( component, (MR_FaceId){12} ) );
118 TEST_ASSERT( !MR_FaceBitSet_test( component, (MR_FaceId){0} ) );
119 MR_FaceBitSet_Destroy( component );
120
121 destroyMesh( m );
122}

Callers

nothing calls this directly

Calls 2

createMeshFunction · 0.85
destroyMeshFunction · 0.85

Tested by

no test coverage detected