From 55495dcbaefbd25d8d97a260ca2de921357a137c Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Wed, 7 Jul 2010 10:50:40 +0200 Subject: extend product unit tests --- test/product_extra.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'test/product_extra.cpp') 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 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(2,320), ei_random(2,320))) ); - CALL_SUBTEST_2( product_extra(MatrixXcf(ei_random(2,50), ei_random(2,50))) ); - CALL_SUBTEST_3( product_extra(Matrix,Dynamic,Dynamic,RowMajor>(ei_random(2,50), ei_random(2,50))) ); + CALL_SUBTEST_1( product_extra(MatrixXf(ei_random(1,320), ei_random(1,320))) ); + CALL_SUBTEST_2( product_extra(MatrixXd(ei_random(1,320), ei_random(1,320))) ); + CALL_SUBTEST_3( product_extra(MatrixXcf(ei_random(1,150), ei_random(1,150))) ); + CALL_SUBTEST_4( product_extra(MatrixXcd(ei_random(1,150), ei_random(1,150))) ); } } -- cgit v1.2.3