extend product unit tests

This commit is contained in:
Gael Guennebaud
2010-07-07 10:50:40 +02:00
parent e38fc9692d
commit 55495dcbae
8 changed files with 44 additions and 24 deletions

View File

@@ -130,7 +130,11 @@ void test_product_notemporary()
for(int i = 0; i < g_repeat; i++) {
s = ei_random<int>(16,320);
CALL_SUBTEST_1( product_notemporary(MatrixXf(s, s)) );
s = ei_random<int>(16,320);
CALL_SUBTEST_2( product_notemporary(MatrixXd(s, s)) );
s = ei_random<int>(16,120);
CALL_SUBTEST_2( product_notemporary(MatrixXcd(s,s)) );
CALL_SUBTEST_3( product_notemporary(MatrixXcf(s,s)) );
s = ei_random<int>(16,120);
CALL_SUBTEST_4( product_notemporary(MatrixXcd(s,s)) );
}
}