aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/mixingtypes.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2014-03-31 10:41:40 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2014-03-31 10:41:40 +0200
commit82c81630679b44bd1a3f7842152f12179428c9f7 (patch)
tree72107937642b9c094844ff39397821313c9aac41 /test/mixingtypes.cpp
parent1c0728043a1fe154107c66cc26c33cab9780efa5 (diff)
Enable repetition in mixing type unit test
Diffstat (limited to 'test/mixingtypes.cpp')
-rw-r--r--test/mixingtypes.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/mixingtypes.cpp b/test/mixingtypes.cpp
index 6c2f74875..ada2f69d3 100644
--- a/test/mixingtypes.cpp
+++ b/test/mixingtypes.cpp
@@ -126,7 +126,9 @@ template<int SizeAtCompileType> void mixingtypes(int size = SizeAtCompileType)
void test_mixingtypes()
{
- CALL_SUBTEST_1(mixingtypes<3>());
- CALL_SUBTEST_2(mixingtypes<4>());
- CALL_SUBTEST_3(mixingtypes<Dynamic>(internal::random<int>(1,EIGEN_TEST_MAX_SIZE)));
+ for(int i = 0; i < g_repeat; i++) {
+ CALL_SUBTEST_1(mixingtypes<3>());
+ CALL_SUBTEST_2(mixingtypes<4>());
+ CALL_SUBTEST_3(mixingtypes<Dynamic>(internal::random<int>(1,EIGEN_TEST_MAX_SIZE)));
+ }
}