diff options
author | Gael Guennebaud <g.gael@free.fr> | 2010-06-24 23:06:21 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2010-06-24 23:06:21 +0200 |
commit | 88e7a572fdcd49ad12fc2a8d0d4fb46a7c6dcbf8 (patch) | |
tree | 788e03618242542b0ffbdca77ad7f9d2dc062ecb | |
parent | 99e4afd43eb41fccd595daa7d930e9c35a36460e (diff) |
makes sure to test small sizes
-rw-r--r-- | test/product_symm.cpp | 12 | ||||
-rw-r--r-- | test/product_syrk.cpp | 6 |
2 files changed, 9 insertions, 9 deletions
diff --git a/test/product_symm.cpp b/test/product_symm.cpp index 4e020fe95..9f99d9afe 100644 --- a/test/product_symm.cpp +++ b/test/product_symm.cpp @@ -114,12 +114,12 @@ void test_product_symm() { for(int i = 0; i < g_repeat ; i++) { - CALL_SUBTEST_1(( symm<float,Dynamic,Dynamic>(ei_random<int>(10,320),ei_random<int>(10,320)) )); - CALL_SUBTEST_2(( symm<double,Dynamic,Dynamic>(ei_random<int>(10,320),ei_random<int>(10,320)) )); - CALL_SUBTEST_3(( symm<std::complex<double>,Dynamic,Dynamic>(ei_random<int>(10,320),ei_random<int>(10,320)) )); + CALL_SUBTEST_1(( symm<float,Dynamic,Dynamic>(ei_random<int>(1,320),ei_random<int>(1,320)) )); + CALL_SUBTEST_2(( symm<double,Dynamic,Dynamic>(ei_random<int>(1,320),ei_random<int>(1,320)) )); + CALL_SUBTEST_3(( symm<std::complex<double>,Dynamic,Dynamic>(ei_random<int>(1,320),ei_random<int>(1,320)) )); - CALL_SUBTEST_4(( symm<float,Dynamic,1>(ei_random<int>(10,320)) )); - CALL_SUBTEST_5(( symm<double,Dynamic,1>(ei_random<int>(10,320)) )); - CALL_SUBTEST_6(( symm<std::complex<double>,Dynamic,1>(ei_random<int>(10,320)) )); + CALL_SUBTEST_4(( symm<float,Dynamic,1>(ei_random<int>(1,320)) )); + CALL_SUBTEST_5(( symm<double,Dynamic,1>(ei_random<int>(1,320)) )); + CALL_SUBTEST_6(( symm<std::complex<double>,Dynamic,1>(ei_random<int>(1,320)) )); } } diff --git a/test/product_syrk.cpp b/test/product_syrk.cpp index 18cdda152..495da7df3 100644 --- a/test/product_syrk.cpp +++ b/test/product_syrk.cpp @@ -75,11 +75,11 @@ void test_product_syrk() for(int i = 0; i < g_repeat ; i++) { int s; - s = ei_random<int>(10,320); + s = ei_random<int>(1,320); CALL_SUBTEST_1( syrk(MatrixXf(s, s)) ); - s = ei_random<int>(10,320); + s = ei_random<int>(1,320); CALL_SUBTEST_2( syrk(MatrixXd(s, s)) ); - s = ei_random<int>(10,320); + s = ei_random<int>(1,320); CALL_SUBTEST_3( syrk(MatrixXcd(s, s)) ); } } |