mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-21 09:09:36 +08:00
conservative_resize unit test was executed only once
This commit is contained in:
parent
41aa0fcc3b
commit
96ad13abba
@ -95,6 +95,8 @@ void run_vector_tests()
|
|||||||
|
|
||||||
void test_conservative_resize()
|
void test_conservative_resize()
|
||||||
{
|
{
|
||||||
|
for(int i=0; i<g_repeat; ++i)
|
||||||
|
{
|
||||||
CALL_SUBTEST_1((run_matrix_tests<int, Eigen::RowMajor>()));
|
CALL_SUBTEST_1((run_matrix_tests<int, Eigen::RowMajor>()));
|
||||||
CALL_SUBTEST_1((run_matrix_tests<int, Eigen::ColMajor>()));
|
CALL_SUBTEST_1((run_matrix_tests<int, Eigen::ColMajor>()));
|
||||||
CALL_SUBTEST_2((run_matrix_tests<float, Eigen::RowMajor>()));
|
CALL_SUBTEST_2((run_matrix_tests<float, Eigen::RowMajor>()));
|
||||||
@ -111,4 +113,5 @@ void test_conservative_resize()
|
|||||||
CALL_SUBTEST_3((run_vector_tests<double>()));
|
CALL_SUBTEST_3((run_vector_tests<double>()));
|
||||||
CALL_SUBTEST_4((run_vector_tests<std::complex<float> >()));
|
CALL_SUBTEST_4((run_vector_tests<std::complex<float> >()));
|
||||||
CALL_SUBTEST_5((run_vector_tests<std::complex<double> >()));
|
CALL_SUBTEST_5((run_vector_tests<std::complex<double> >()));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user