FEI Package Browser (Single Doxygen Collection)
Version of the Day
|
#include <test_Utils.hpp>
Public Member Functions | |
test_Utils (MPI_Comm comm) | |
virtual | ~test_Utils () |
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 snl_fei_Utils methods.
Definition at line 20 of file test_Utils.hpp.
test_Utils::test_Utils | ( | MPI_Comm | comm | ) |
Definition at line 26 of file test_Utils.cpp.
|
virtual |
Definition at line 31 of file test_Utils.cpp.
|
inlinevirtual |
|
virtual |
Implements tester.
Definition at line 94 of file test_Utils.cpp.
References CHK_ERR, tester::numProcs_, serialtest1(), serialtest2(), serialtest3(), test1(), test2(), test3(), test4(), and test_Utils_binarySearch().
int test_Utils::test1 | ( | ) |
Definition at line 287 of file test_Utils.cpp.
References ERReturn, FEI_COUT, FEI_ENDL, and test_Utils_function_that_throws().
Referenced by runtests().
int test_Utils::test2 | ( | ) |
Definition at line 337 of file test_Utils.cpp.
References ERReturn, FEI_COUT, FEI_ENDL, test_Utils_dummy_destroyed, and test_Utils_test_SharedPtr().
Referenced by runtests().
int test_Utils::test3 | ( | ) |
Definition at line 353 of file test_Utils.cpp.
References snl_fei::copy2DBlockDiagToColumnContig(), snl_fei::copy2DToColumnContig(), FEI_BLOCK_DIAGONAL_ROW, FEI_COUT, FEI_DENSE_COL, FEI_DENSE_ROW, and FEI_ENDL.
Referenced by runtests().
int test_Utils::test4 | ( | ) |
Definition at line 445 of file test_Utils.cpp.
Referenced by runtests().
int test_Utils::serialtest0 | ( | ) |
int test_Utils::serialtest1 | ( | ) |
Definition at line 111 of file test_Utils.cpp.
References ERReturn, FEI_COUT, FEI_ENDL, and snl_fei::leading_substring_length().
Referenced by runtests().
int test_Utils::serialtest2 | ( | ) |
Definition at line 137 of file test_Utils.cpp.
References CHK_ERR, ERReturn, FEI_COUT, FEI_ENDL, and snl_fei::getDoubleParamValue().
Referenced by runtests().
int test_Utils::serialtest3 | ( | ) |
Definition at line 173 of file test_Utils.cpp.
References fei::ParameterSet::add(), fei::ParameterSet::begin(), fei::Param::DOUBLE, fei::ParameterSet::end(), ERReturn, FEI_COUT, FEI_ENDL, fei::ParameterSet::get(), fei::ParameterSet::getDoubleParamValue(), fei::ParameterSet::getIntParamValue(), fei::ParameterSet::getStringParamValue(), fei::Param::getType(), fei::Param::INT, fei::utils::parse_strings(), fei::ParameterSet::size(), and fei::Param::STRING.
Referenced by runtests().