MOAB: Mesh Oriented datABase
(version 5.4.1)
|
Public Member Functions | |
void | test_handle_from_sample () |
Private Member Functions | |
CPPUNIT_TEST_SUITE (ElemSampleQMTest) | |
CPPUNIT_TEST (test_handle_from_sample) | |
CPPUNIT_TEST_SUITE_END () |
Definition at line 38 of file ElemSampleQMTest.cpp.
ElemSampleQMTest::CPPUNIT_TEST | ( | test_handle_from_sample | ) | [private] |
ElemSampleQMTest::CPPUNIT_TEST_SUITE | ( | ElemSampleQMTest | ) | [private] |
ElemSampleQMTest::CPPUNIT_TEST_SUITE_END | ( | ) | [private] |
Definition at line 60 of file ElemSampleQMTest.cpp.
References MBMesquite::ElemSampleQM::MAX_ELEM_PER_PATCH, MBMesquite::Sample::SIDE_DIMENSON_MASK, MBMesquite::Sample::SIDE_NUMBER_MASK, and test_handle().
{ Sample min_sample_no( 0, 0 ); Sample max_sample_no( Sample::SIDE_DIMENSON_MASK, Sample::SIDE_NUMBER_MASK ); size_t min_elem_no = 0; size_t max_elem_no = ElemSampleQM::MAX_ELEM_PER_PATCH - 1; test_handle( min_sample_no, min_elem_no ); test_handle( min_sample_no, max_elem_no ); test_handle( max_sample_no, min_elem_no ); test_handle( max_sample_no, max_elem_no ); }