Lines Matching defs:count
403 * @tc.desc: Test the count of element in the empty queue.
413 int count = queue->Count();
414 ASSERT_EQ(count, 0);
433 int count;
437 count = queue->Count();
438 ASSERT_EQ(count, i + 1);
442 count = queue->Count();
443 ASSERT_EQ(count, SINGLE_QUEUE_CAPACITY);
450 * @tc.desc: Test the count of element in the queue when push back and pop repeatedly.
465 int count;
469 count = queue->Count();
470 ASSERT_EQ(count, SINGLE_QUEUE_CAPACITY - i - 1);
474 count = queue->Count();
475 ASSERT_EQ(count, 0);