From 6c1b91678b5406fb10fe5d4692014f8017d1cf1c Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Mon, 19 Oct 2009 14:40:35 -0400 Subject: kill ei_add_test_multi. Now the macro ei_add_test does all that automatically, by parsing the source file. No risk anymore to specify the wrong number of tests! Also, introduce CALL_SUBTESTX for X=1..10 that allows to port existing code much quicker. And port already the product* and eigensolver* files. --- test/product_notemporary.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/product_notemporary.cpp') diff --git a/test/product_notemporary.cpp b/test/product_notemporary.cpp index 1a3d65291..e9efeaaae 100644 --- a/test/product_notemporary.cpp +++ b/test/product_notemporary.cpp @@ -117,8 +117,8 @@ void test_product_notemporary() int s; for(int i = 0; i < g_repeat; i++) { s = ei_random(16,320); - CALL_SUBTEST( product_notemporary(MatrixXf(s, s)) ); + CALL_SUBTEST1( product_notemporary(MatrixXf(s, s)) ); s = ei_random(16,120); - CALL_SUBTEST( product_notemporary(MatrixXcd(s,s)) ); + CALL_SUBTEST2( product_notemporary(MatrixXcd(s,s)) ); } } -- cgit v1.2.3