10 #ifndef THYRA_VECTOR_TESTER_DECL_HPP
11 #define THYRA_VECTOR_TESTER_DECL_HPP
13 #include "Thyra_OperatorVectorTypes.hpp"
14 #include "Thyra_MultiVectorTester.hpp"
24 template<
class Scalar>
173 int num_random_vectors_;
174 bool show_all_tests_;
182 template<
class Scalar>
186 return multiVectorTester_;
189 template<
class Scalar>
193 return multiVectorTester_;
196 template<
class Scalar>
200 warning_tol_ = warning_tol_in;
201 multiVectorTester_.warning_tol(warning_tol_in);
204 template<
class Scalar>
212 template<
class Scalar>
216 error_tol_ = error_tol_in;
217 multiVectorTester_.error_tol(error_tol_in);
220 template<
class Scalar>
228 template<
class Scalar>
232 num_random_vectors_ = num_random_vectors_in;
233 multiVectorTester_.num_random_vectors(num_random_vectors_in);
236 template<
class Scalar>
240 return num_random_vectors_;
243 template<
class Scalar>
247 show_all_tests_ = show_all_tests_in;
248 multiVectorTester_.show_all_tests(show_all_tests_in);
251 template<
class Scalar>
255 return show_all_tests_;
258 template<
class Scalar>
262 dump_all_ = dump_all_in;
263 multiVectorTester_.dump_all(dump_all_in);
266 template<
class Scalar>
275 #endif // THYRA_VECTOR_TESTER_DECL_HPP
bool dump_all() const
Return the number of random vectors used for *this objects tests.
int num_random_vectors() const
Return the number of random vectors used for *this objects tests.
ScalarMag warning_tol() const
Return the warning tolerance for *this.
bool check(const VectorBase< Scalar > &v, Teuchos::FancyOStream *out) const
Check a vector object in a set of comprehensive tests.
MultiVectorTester< Scalar > & multiVectorTester()
Expose a non-const reference to the MultiVectorTester object used to test the MultiVectorBase interfa...
ScalarMag error_tol() const
Return the error tolerance for *this.
Unit testing class for a VectorBase object.
Abstract interface for finite-dimensional dense vectors.
Teuchos::ScalarTraits< Scalar >::magnitudeType ScalarMag
Local typedef for scalar magnitude.
bool show_all_tests() const
Return the number of random vectors used for *this objects tests.
VectorTester(const ScalarMag warning_tol=1e-13, const ScalarMag error_tol=1e-10, const int num_random_vectors=1, const bool show_all_tests=false, const bool dump_all=false)
Default constructor which sets default parameter values.
Unit testing class for a MultiVectorBase object.