42 #ifndef VECTOR_SPACE_TESTER_H
43 #define VECTOR_SPACE_TESTER_H
47 #include "AbstractLinAlgPack_Types.hpp"
50 namespace AbstractLinAlgPack {
72 #ifdef DOXYGEN_COMPILE
77 #ifdef DOXYGEN_COMPILE
82 #ifdef DOXYGEN_COMPILE
87 #ifdef DOXYGEN_COMPILE
92 #ifdef DOXYGEN_COMPILE
97 #ifdef DOXYGEN_COMPILE
106 bool print_all_tests =
false
107 ,
bool print_vectors =
false
108 ,
bool throw_exception =
true
109 ,size_type num_random_tests = 4
110 ,value_type warning_tol = 1e-14
111 ,value_type error_tol = 1e-10
154 void check_test(value_type err, std::ostream* out,
bool* success)
const;
160 #endif // VECTOR_SPACE_TESTER_H
Testing class for VectorSpace, Vector and VectorMutable.
virtual ~VectorSpaceTester()
Abstract interface for objects that represent a space for mutable coordinate vectors.
STANDARD_MEMBER_COMPOSITION_MEMBERS(bool, print_all_tests)
Members for option print_all_tests() (see Teuchos_StandardMemberCompositionMacros.hpp).
virtual bool check_vector_space(const VectorSpace &space, std::ostream *out) const
Run a vector space and the vectors it creates through a set of comprehensive tets.
VectorSpaceTester(bool print_all_tests=false, bool print_vectors=false, bool throw_exception=true, size_type num_random_tests=4, value_type warning_tol=1e-14, value_type error_tol=1e-10)
Constructor (set default options).