diff options
author | Gael Guennebaud <g.gael@free.fr> | 2011-07-12 14:41:00 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2011-07-12 14:41:00 +0200 |
commit | a8f66fec6591e11a20a9861bda244e15f969fda2 (patch) | |
tree | 79d30afad3cf953afe35e852e61b6a8729ddf832 /test/product_extra.cpp | |
parent | bdb545ce3b294e28cd264c627ceaae42d26ea5f4 (diff) |
add the possibility to configure the maximal matrix size in the unit tests
Diffstat (limited to 'test/product_extra.cpp')
-rw-r--r-- | test/product_extra.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/product_extra.cpp b/test/product_extra.cpp index 60f00a4da..25a9974b9 100644 --- a/test/product_extra.cpp +++ b/test/product_extra.cpp @@ -143,10 +143,10 @@ void zero_sized_objects() void test_product_extra() { for(int i = 0; i < g_repeat; i++) { - CALL_SUBTEST_1( product_extra(MatrixXf(internal::random<int>(1,320), internal::random<int>(1,320))) ); - CALL_SUBTEST_2( product_extra(MatrixXd(internal::random<int>(1,320), internal::random<int>(1,320))) ); - CALL_SUBTEST_3( product_extra(MatrixXcf(internal::random<int>(1,150), internal::random<int>(1,150))) ); - CALL_SUBTEST_4( product_extra(MatrixXcd(internal::random<int>(1,150), internal::random<int>(1,150))) ); + CALL_SUBTEST_1( product_extra(MatrixXf(internal::random<int>(1,EIGEN_TEST_MAX_SIZE), internal::random<int>(1,EIGEN_TEST_MAX_SIZE))) ); + CALL_SUBTEST_2( product_extra(MatrixXd(internal::random<int>(1,EIGEN_TEST_MAX_SIZE), internal::random<int>(1,EIGEN_TEST_MAX_SIZE))) ); + CALL_SUBTEST_3( product_extra(MatrixXcf(internal::random<int>(1,EIGEN_TEST_MAX_SIZE/2), internal::random<int>(1,EIGEN_TEST_MAX_SIZE/2))) ); + CALL_SUBTEST_4( product_extra(MatrixXcd(internal::random<int>(1,EIGEN_TEST_MAX_SIZE/2), internal::random<int>(1,EIGEN_TEST_MAX_SIZE/2))) ); CALL_SUBTEST_5( zero_sized_objects() ); } } |