FEI Package Browser (Single Doxygen Collection)
Version of the Day
|
#include <test_misc.hpp>
Public Member Functions | |
test_misc (MPI_Comm comm) | |
virtual | ~test_misc () |
const char * | getName () |
int | runtests () |
int | test1 () |
int | test2 () |
int | test3 () |
int | test4 () |
int | serialtest0 () |
int | serialtest1 () |
int | serialtest2 () |
int | serialtest3 () |
Public Member Functions inherited from tester | |
tester (MPI_Comm comm) | |
virtual | ~tester () |
void | setPath (const std::string &path) |
Additional Inherited Members | |
Protected Attributes inherited from tester | |
MPI_Comm | comm_ |
int | numProcs_ |
int | localProc_ |
std::string | path_ |
Unit-tester for miscellaneous fei:: classes and methods.
Definition at line 20 of file test_misc.hpp.
test_misc::test_misc | ( | MPI_Comm | comm | ) |
Definition at line 27 of file test_misc.cpp.
|
virtual |
Definition at line 32 of file test_misc.cpp.
|
inlinevirtual |
|
virtual |
Implements tester.
Definition at line 207 of file test_misc.cpp.
References CHK_ERR, tester::numProcs_, serialtest1(), serialtest2(), serialtest3(), test1(), test2(), test3(), test4(), test_misc_FieldMask(), and test_misc_RecordCollection().
int test_misc::test1 | ( | ) |
Definition at line 408 of file test_misc.cpp.
Referenced by runtests().
int test_misc::test2 | ( | ) |
Definition at line 414 of file test_misc.cpp.
Referenced by runtests().
int test_misc::test3 | ( | ) |
Definition at line 420 of file test_misc.cpp.
Referenced by runtests().
int test_misc::test4 | ( | ) |
Definition at line 426 of file test_misc.cpp.
Referenced by runtests().
int test_misc::serialtest0 | ( | ) |
int test_misc::serialtest1 | ( | ) |
Definition at line 225 of file test_misc.cpp.
References ERReturn, FEI_COUT, FEI_ENDL, and fei_test_utils::within_percentage_margin().
Referenced by runtests().
int test_misc::serialtest2 | ( | ) |
Definition at line 260 of file test_misc.cpp.
References FEI_COUT, and FEI_ENDL.
Referenced by runtests().
int test_misc::serialtest3 | ( | ) |
Definition at line 348 of file test_misc.cpp.
References fei_Pool_alloc< T >::allocate(), snl_fei::MapContig< VAL_TYPE >::begin(), fei_Pool_alloc< T >::construct(), fei_Pool_alloc< T >::destroy(), snl_fei::MapContig< VAL_TYPE >::end(), FEI_COUT, FEI_ENDL, snl_fei::MapContig< VAL_TYPE >::insert(), fei::ctg_set< T >::insert2(), and snl_fei::MapContig< VAL_TYPE >::size().
Referenced by runtests().