From 88e7a572fdcd49ad12fc2a8d0d4fb46a7c6dcbf8 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Thu, 24 Jun 2010 23:06:21 +0200 Subject: [PATCH] makes sure to test small sizes --- test/product_symm.cpp | 12 ++++++------ test/product_syrk.cpp | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/test/product_symm.cpp b/test/product_symm.cpp index 4e020fe95..9f99d9afe 100644 --- a/test/product_symm.cpp +++ b/test/product_symm.cpp @@ -114,12 +114,12 @@ void test_product_symm() { for(int i = 0; i < g_repeat ; i++) { - CALL_SUBTEST_1(( symm(ei_random(10,320),ei_random(10,320)) )); - CALL_SUBTEST_2(( symm(ei_random(10,320),ei_random(10,320)) )); - CALL_SUBTEST_3(( symm,Dynamic,Dynamic>(ei_random(10,320),ei_random(10,320)) )); + CALL_SUBTEST_1(( symm(ei_random(1,320),ei_random(1,320)) )); + CALL_SUBTEST_2(( symm(ei_random(1,320),ei_random(1,320)) )); + CALL_SUBTEST_3(( symm,Dynamic,Dynamic>(ei_random(1,320),ei_random(1,320)) )); - CALL_SUBTEST_4(( symm(ei_random(10,320)) )); - CALL_SUBTEST_5(( symm(ei_random(10,320)) )); - CALL_SUBTEST_6(( symm,Dynamic,1>(ei_random(10,320)) )); + CALL_SUBTEST_4(( symm(ei_random(1,320)) )); + CALL_SUBTEST_5(( symm(ei_random(1,320)) )); + CALL_SUBTEST_6(( symm,Dynamic,1>(ei_random(1,320)) )); } } diff --git a/test/product_syrk.cpp b/test/product_syrk.cpp index 18cdda152..495da7df3 100644 --- a/test/product_syrk.cpp +++ b/test/product_syrk.cpp @@ -75,11 +75,11 @@ void test_product_syrk() for(int i = 0; i < g_repeat ; i++) { int s; - s = ei_random(10,320); + s = ei_random(1,320); CALL_SUBTEST_1( syrk(MatrixXf(s, s)) ); - s = ei_random(10,320); + s = ei_random(1,320); CALL_SUBTEST_2( syrk(MatrixXd(s, s)) ); - s = ei_random(10,320); + s = ei_random(1,320); CALL_SUBTEST_3( syrk(MatrixXcd(s, s)) ); } }