1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

[test.random] comment out stream assertion in clang

This commit is contained in:
bolero-MURAKAMI 2013-10-05 18:10:47 +09:00
parent a90bbd5f38
commit ba708c3716
2 changed files with 12 additions and 1 deletions

View file

@ -41,8 +41,10 @@ namespace testspr {
{
std::ostringstream os;
os << dist1;
// ???
#if !defined(__clang__)
TESTSPR_ASSERT(!!os);
#endif
s = os.str();
}
@ -52,7 +54,10 @@ namespace testspr {
{
std::istringstream is(s);
is >> dist_temp;
// ???
#if !defined(__clang__)
TESTSPR_ASSERT(!!is);
#endif
}
TESTSPR_ASSERT(dist_temp == dist1);