From e49236bac6ee5689cd3719640dbe785430acbdda Mon Sep 17 00:00:00 2001 From: Hauke Heibel Date: Mon, 7 Sep 2009 17:23:29 +0200 Subject: [PATCH] Ups - that was not intended to be part of the commit. --- test/conservative_resize.cpp | 44 ++++++++++++------------------------ 1 file changed, 15 insertions(+), 29 deletions(-) diff --git a/test/conservative_resize.cpp b/test/conservative_resize.cpp index e4ff4f331..f0d025283 100644 --- a/test/conservative_resize.cpp +++ b/test/conservative_resize.cpp @@ -108,36 +108,22 @@ void run_vector_tests() } } -template -void run_resize_like_tests() -{ - typedef Matrix MatrixType; - - MatrixType m; - - m = MatrixType::Random(5); - m.conservativeResizeLike( MatrixType::Ones(2) ); - std::cout << m << std::endl; -} - void test_conservative_resize() { - run_resize_like_tests(); + run_matrix_tests(); + run_matrix_tests(); + run_matrix_tests(); + run_matrix_tests(); + run_matrix_tests(); + run_matrix_tests(); + run_matrix_tests, Eigen::RowMajor>(); + run_matrix_tests, Eigen::ColMajor>(); + run_matrix_tests, Eigen::RowMajor>(); + run_matrix_tests, Eigen::ColMajor>(); - //run_matrix_tests(); - //run_matrix_tests(); - //run_matrix_tests(); - //run_matrix_tests(); - //run_matrix_tests(); - //run_matrix_tests(); - //run_matrix_tests, Eigen::RowMajor>(); - //run_matrix_tests, Eigen::ColMajor>(); - //run_matrix_tests, Eigen::RowMajor>(); - //run_matrix_tests, Eigen::ColMajor>(); - - //run_vector_tests(); - //run_vector_tests(); - //run_vector_tests(); - //run_vector_tests >(); - //run_vector_tests >(); + run_vector_tests(); + run_vector_tests(); + run_vector_tests(); + run_vector_tests >(); + run_vector_tests >(); }