| 50 | } |
| 51 | |
| 52 | void testComponentsMap( void ) |
| 53 | { |
| 54 | CreatedMesh m = createMesh(); |
| 55 | |
| 56 | MR_std_pair_MR_Face2RegionMap_int* map = MR_MeshComponents_getAllComponentsMap( m.part, NULL, NULL ); |
| 57 | TEST_ASSERT( *MR_std_pair_MR_Face2RegionMap_int_second( map ) == 2 ); |
| 58 | TEST_ASSERT( MR_Face2RegionMap_size( MR_std_pair_MR_Face2RegionMap_int_first( map ) ) == 24 ); |
| 59 | TEST_ASSERT( MR_Face2RegionMap_index( MR_std_pair_MR_Face2RegionMap_int_first( map ), (MR_FaceId){0} )->id_ == 0 ); |
| 60 | TEST_ASSERT( MR_Face2RegionMap_index( MR_std_pair_MR_Face2RegionMap_int_first( map ), (MR_FaceId){12} )->id_ == 1 ); |
| 61 | |
| 62 | MR_std_pair_MR_Face2RegionMap_int_Destroy( map ); |
| 63 | |
| 64 | destroyMesh( m ); |
| 65 | } |
| 66 | |
| 67 | void testLargeRegions( void ) |
| 68 | { |
nothing calls this directly
no test coverage detected