aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/product_extra.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2010-07-07 10:50:40 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2010-07-07 10:50:40 +0200
commit55495dcbaefbd25d8d97a260ca2de921357a137c (patch)
tree473b876abd4fbaab202cfec686a8d5cdc945d467 /test/product_extra.cpp
parente38fc9692dfac3596331c6f7b9e50a0fb7dbcfe9 (diff)
extend product unit tests
Diffstat (limited to 'test/product_extra.cpp')
-rw-r--r--test/product_extra.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/product_extra.cpp b/test/product_extra.cpp
index 39a43da21..1ee92c962 100644
--- a/test/product_extra.cpp
+++ b/test/product_extra.cpp
@@ -115,8 +115,9 @@ template<typename MatrixType> void product_extra(const MatrixType& m)
void test_product_extra()
{
for(int i = 0; i < g_repeat; i++) {
- CALL_SUBTEST_1( product_extra(MatrixXf(ei_random<int>(2,320), ei_random<int>(2,320))) );
- CALL_SUBTEST_2( product_extra(MatrixXcf(ei_random<int>(2,50), ei_random<int>(2,50))) );
- CALL_SUBTEST_3( product_extra(Matrix<std::complex<double>,Dynamic,Dynamic,RowMajor>(ei_random<int>(2,50), ei_random<int>(2,50))) );
+ CALL_SUBTEST_1( product_extra(MatrixXf(ei_random<int>(1,320), ei_random<int>(1,320))) );
+ CALL_SUBTEST_2( product_extra(MatrixXd(ei_random<int>(1,320), ei_random<int>(1,320))) );
+ CALL_SUBTEST_3( product_extra(MatrixXcf(ei_random<int>(1,150), ei_random<int>(1,150))) );
+ CALL_SUBTEST_4( product_extra(MatrixXcd(ei_random<int>(1,150), ei_random<int>(1,150))) );
}
}