From 22be7201bb7a007374c83450c66b5911b82f8ba9 Mon Sep 17 00:00:00 2001 From: bolero-MURAKAMI Date: Fri, 26 Jul 2013 17:01:10 +0900 Subject: [PATCH] fix test: random engine comparison (compile time) --- libs/random/test/engine_generic.hpp | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/libs/random/test/engine_generic.hpp b/libs/random/test/engine_generic.hpp index 7db43828..70a37faa 100644 --- a/libs/random/test/engine_generic.hpp +++ b/libs/random/test/engine_generic.hpp @@ -20,14 +20,10 @@ namespace testspr { // operator== // operator!= -// TESTSPR_BOTH_ASSERT(eng1 == eng1); -// TESTSPR_BOTH_ASSERT(!(eng1 == eng2)); -// TESTSPR_BOTH_ASSERT(eng1 != eng2); -// TESTSPR_BOTH_ASSERT(!(eng1 != eng1)); - TESTSPR_ASSERT(eng1 == eng1); - TESTSPR_ASSERT(!(eng1 == eng2)); - TESTSPR_ASSERT(eng1 != eng2); - TESTSPR_ASSERT(!(eng1 != eng1)); + TESTSPR_BOTH_ASSERT(eng1 == eng1); + TESTSPR_BOTH_ASSERT(!(eng1 == eng2)); + TESTSPR_BOTH_ASSERT(eng1 != eng2); + TESTSPR_BOTH_ASSERT(!(eng1 != eng1)); { std::string s;