From d3846717939ac11ef925d8f8ee36b95ed1170846 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Tue, 27 Jan 2009 20:47:12 +0000 Subject: now these tests succeed with 10,000 repeats --- test/basicstuff.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test/basicstuff.cpp') 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 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() -- cgit v1.2.3