1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2024-11-12 21:09:01 +00:00

fix Random Test for clang

This commit is contained in:
bolero-MURAKAMI 2019-01-15 15:37:09 +09:00
parent b52f784219
commit 312a89c4a2
2 changed files with 0 additions and 13 deletions

View file

@ -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);

View file

@ -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);