2 #include "../../include/SolverParameters.h" 4 template <
int dim,
typename T>
9 std::cout <<
"\nTesting 'LinearSolverParameters'... " << std::endl;
18 unsigned int subtest_index = 0;
28 std::cout <<
"Subtest " << subtest_index <<
" result for 'getMaxIterations': " << result << std::endl;
30 pass = pass && result;
38 std::cout <<
"Subtest " << subtest_index <<
" result for 'getToleranceType': " << result << std::endl;
40 pass = pass && result;
48 std::cout <<
"Subtest " << subtest_index <<
" result for 'getToleranceValue': " << result << std::endl;
50 pass = pass && result;
53 sprintf (buffer,
"Test result for 'LinearSolverParameters': %u\n", pass);
SolverToleranceType getToleranceType(unsigned int index)
bool test_LinearSolverParameters()
unsigned int getMaxIterations(unsigned int index)
void loadParameters(unsigned int _var_index, SolverToleranceType _tolerance_type, double _tolerance_value, unsigned int _max_iterations)
double getToleranceValue(unsigned int index)