Lines Matching refs:kNumberOfElements
16 const int kNumberOfElements = 10;
75 int element_array[kNumberOfElements];
76 for (int i = 0; i < kNumberOfElements; i++)
82 for (int i = 2; i < kNumberOfElements - 2; i++)
87 FailTest(test_list.PushBack(element_array[kNumberOfElements - 2]) != 0);
88 FailTest(test_list.PushBack(element_array[kNumberOfElements - 1]) != 0);
94 FailTest(test_list.GetSize() != kNumberOfElements);
101 FailTest(test_list.GetSize() != kNumberOfElements - 2);
122 kNumberOfElements - 2);
127 kNumberOfElements - 3);
134 ListItem* insert_item_last = new ListItem(reinterpret_cast<void*>(&element_array[kNumberOfElements - 2]));
137 ListItem* insert_item_last2 = new ListItem(reinterpret_cast<void*>(&element_array[kNumberOfElements - 2]));
151 FailTest(counter++ > kNumberOfElements);