51 const int local_num_options = 6;
62 const char* local_SOptions[local_num_options] = {
73 namespace AbstractLinAlgPack {
77 ,
const char opt_grp_name[] )
78 : OptionsFromStreamPack::SetOptionsFromStreamNode(
79 opt_grp_name, local_num_options, local_SOptions )
80 , OptionsFromStreamPack::SetOptionsToTargetBase<
105 case NUM_RANDOM_TESTS:
106 target().num_random_tests(
std::abs(std::atoi(option_value.c_str())));
bool StringToBool(const char *opt_name, const char *str)
Convert a string "true" or "false" into bool #true# or #false#.
VectorSpaceTesterSetOptions(VectorSpaceTester *target=0, const char opt_grp_name[]="VectorSpaceTester")
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
void abs(DVectorSlice *vs_lhs, const DVectorSlice &vs_rhs)
vs_lhs = abs(vs_rhs)
Testing class for VectorSpace, Vector and VectorMutable.
VectorSpaceTester & target()
void setOption(int option_num, const std::string &option_value)
Overridden from SetOptionsFromStreamNode.
#define TEUCHOS_TEST_FOR_EXCEPT(throw_exception_test)
const std::string & option_value(OptionsGroup::const_iterator &itr)