66 void SetUp()
override { start_time_ = time(
nullptr); }
72 const time_t end_time = time(
nullptr);
77 EXPECT_TRUE(end_time - start_time_ <= 5) <<
"The test took too long.";
88 class IntegerFunctionTest :
public QuickTest {
141 class QueueTest :
public QuickTest {
143 void SetUp()
override {
170 TEST_F(QueueTest, DefaultConstructor) {
175 TEST_F(QueueTest, Dequeue) {
176 int*
n = q0_.Dequeue();
#define TEST_F(test_fixture, test_name)
#define EXPECT_GT(val1, val2)
#define EXPECT_EQ(val1, val2)
#define EXPECT_TRUE(condition)
#define EXPECT_FALSE(condition)