42 #ifndef THYRA_VECTOR_TESTER_DECL_HPP
43 #define THYRA_VECTOR_TESTER_DECL_HPP
45 #include "Thyra_OperatorVectorTypes.hpp"
46 #include "Thyra_MultiVectorTester.hpp"
56 template<
class Scalar>
205 int num_random_vectors_;
206 bool show_all_tests_;
214 template<
class Scalar>
218 return multiVectorTester_;
221 template<
class Scalar>
225 return multiVectorTester_;
228 template<
class Scalar>
232 warning_tol_ = warning_tol_in;
233 multiVectorTester_.warning_tol(warning_tol_in);
236 template<
class Scalar>
244 template<
class Scalar>
248 error_tol_ = error_tol_in;
249 multiVectorTester_.error_tol(error_tol_in);
252 template<
class Scalar>
260 template<
class Scalar>
264 num_random_vectors_ = num_random_vectors_in;
265 multiVectorTester_.num_random_vectors(num_random_vectors_in);
268 template<
class Scalar>
272 return num_random_vectors_;
275 template<
class Scalar>
279 show_all_tests_ = show_all_tests_in;
280 multiVectorTester_.show_all_tests(show_all_tests_in);
283 template<
class Scalar>
287 return show_all_tests_;
290 template<
class Scalar>
294 dump_all_ = dump_all_in;
295 multiVectorTester_.dump_all(dump_all_in);
298 template<
class Scalar>
307 #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.