diff --git a/libs/random/test/distribution_generic.hpp b/libs/random/test/distribution_generic.hpp index fcac3031..4a53e406 100644 --- a/libs/random/test/distribution_generic.hpp +++ b/libs/random/test/distribution_generic.hpp @@ -41,10 +41,7 @@ namespace testspr { { std::ostringstream os; os << dist1; - // ??? -#if !defined(__clang__) TESTSPR_ASSERT(!!os); -#endif s = os.str(); } @@ -54,10 +51,7 @@ namespace testspr { { std::istringstream is(s); is >> dist_temp; - // ??? -#if !defined(__clang__) TESTSPR_ASSERT(!!is); -#endif } TESTSPR_ASSERT(dist_temp == dist1); diff --git a/libs/random/test/engine_generic.hpp b/libs/random/test/engine_generic.hpp index 05643e56..2e095187 100644 --- a/libs/random/test/engine_generic.hpp +++ b/libs/random/test/engine_generic.hpp @@ -32,11 +32,7 @@ namespace testspr { { std::ostringstream os; os << eng1; - // ??? -#if !defined(__clang__) TESTSPR_ASSERT(!!os); -#endif - s = os.str(); } @@ -46,10 +42,7 @@ namespace testspr { { std::istringstream is(s); is >> eng_temp; - // ??? -#if !defined(__clang__) TESTSPR_ASSERT(!!is); -#endif } //TESTSPR_ASSERT(eng_temp == eng1);