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