diff --git a/test/product.cpp b/test/product.cpp index bac2a897e..70b41212a 100644 --- a/test/product.cpp +++ b/test/product.cpp @@ -91,21 +91,19 @@ template void product(const MatrixType& m) void test_product() { -// for(int i = 0; i < g_repeat; i++) { -// CALL_SUBTEST( product(Matrix()) ); -// CALL_SUBTEST( product(Matrix()) ); -// CALL_SUBTEST( product(Matrix()) ); -// CALL_SUBTEST( product(Matrix4d()) ); -// } + for(int i = 0; i < g_repeat; i++) { + CALL_SUBTEST( product(Matrix()) ); + CALL_SUBTEST( product(Matrix()) ); + CALL_SUBTEST( product(Matrix()) ); + CALL_SUBTEST( product(Matrix4d()) ); + } for(int i = 0; i < g_repeat; i++) { int rows = ei_random(1,320); int cols = ei_random(1,320); - std::cout << "test MatrixXf " << rows << "x" << cols << "\n"; CALL_SUBTEST( product(MatrixXf(rows, cols)) ); - std::cout << "test MatrixXd " << rows << "x" << cols << "\n"; CALL_SUBTEST( product(MatrixXd(rows, cols)) ); -// CALL_SUBTEST( product(MatrixXi(rows, cols)) ); -// CALL_SUBTEST( product(MatrixXcf(rows, cols)) ); -// CALL_SUBTEST( product(MatrixXcd(rows, cols)) ); + CALL_SUBTEST( product(MatrixXi(rows, cols)) ); + CALL_SUBTEST( product(MatrixXcf(rows, cols)) ); + CALL_SUBTEST( product(MatrixXcd(rows, cols)) ); } }