diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2009-01-27 20:47:12 +0000 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2009-01-27 20:47:12 +0000 |
commit | d3846717939ac11ef925d8f8ee36b95ed1170846 (patch) | |
tree | ec772080d0299fbe3e4cb22a3283d2b43b5842cd /test/basicstuff.cpp | |
parent | 4ac8cabf8a645b9a296ab97110ff39d91a9f1916 (diff) |
now these tests succeed with 10,000 repeats
Diffstat (limited to 'test/basicstuff.cpp')
-rw-r--r-- | test/basicstuff.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/basicstuff.cpp b/test/basicstuff.cpp index 0faefc156..21473cf8a 100644 --- a/test/basicstuff.cpp +++ b/test/basicstuff.cpp @@ -103,7 +103,10 @@ template<typename MatrixType> void basicStuff(const MatrixType& m) m3 = m1; m1.swap(m2); VERIFY_IS_APPROX(m3, m2); - VERIFY_IS_NOT_APPROX(m3, m1); + if(rows*cols>=3) + { + VERIFY_IS_NOT_APPROX(m3, m1); + } } void test_basicstuff() |