示例#1
0
TEST(OutStream, SetLessonInterface)
{
	OutStream out;
	out.claim();
	EXPECT_EQ(&out.claim(), &out) << "Fluid interface error.";
	EXPECT_TRUE(out.claimed()) << "OutStream incorrectly marked as unclaimed.";
}
示例#2
0
TEST(OutStream, DefaultConstructor)
{
	OutStream out;
	EXPECT_FALSE(out.claimed()) << "OutStream incorrectly marked as claimed.";
}