mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-08-03 10:55:57 -04:00
Fix test
This commit is contained in:
parent
eccb504b4f
commit
ca859c83a7
@ -334,7 +334,11 @@ BEGIN_TEST()
|
||||
|
||||
{
|
||||
// streams
|
||||
EXPECT_EQUAL((std::stringstream() << Point(1, 2)).str(), "[x:1,y:2]");
|
||||
EXPECT_EQUAL((std::stringstream() << Rect(1, 2, 3, 4)).str(), "[x:1,y:2,w:3,h:4]");
|
||||
std::stringstream stream;
|
||||
stream << Point(1, 2);
|
||||
EXPECT_EQUAL(stream.str(), "[x:1,y:2]");
|
||||
stream.str("");
|
||||
stream << Rect(1, 2, 3, 4);
|
||||
EXPECT_EQUAL(stream.str(), "[x:1,y:2,w:3,h:4]");
|
||||
}
|
||||
END_TEST()
|
||||
|
Loading…
x
Reference in New Issue
Block a user