Lines Matching refs:TEST_ASSERT
64 #define TEST_ASSERT(expr) \ macro
99 TEST_ASSERT(b->size() == 3); in UVector32_API()
100 TEST_ASSERT(b->elementAti(1) == 20); in UVector32_API()
114 TEST_ASSERT(*b != *a); in UVector32_API()
115 TEST_ASSERT(!(*b == *a)); in UVector32_API()
116 TEST_ASSERT(!b->equals(*a)); in UVector32_API()
118 TEST_ASSERT(*b == *a); in UVector32_API()
119 TEST_ASSERT(!(*b != *a)); in UVector32_API()
120 TEST_ASSERT(b->equals(*a)); in UVector32_API()
122 TEST_ASSERT(*b != *a); in UVector32_API()
123 TEST_ASSERT(!(*b == *a)); in UVector32_API()
124 TEST_ASSERT(!b->equals(*a)); in UVector32_API()
142 TEST_ASSERT(a->elementAti(0) == 10); in UVector32_API()
143 TEST_ASSERT(a->elementAti(1) == 666); in UVector32_API()
144 TEST_ASSERT(a->size() == 3); in UVector32_API()
157 TEST_ASSERT(a->elementAti(0) == 10); in UVector32_API()
158 TEST_ASSERT(a->elementAti(1) == 666); in UVector32_API()
159 TEST_ASSERT(a->elementAti(2) == 20); in UVector32_API()
160 TEST_ASSERT(a->elementAti(3) == 30); in UVector32_API()
161 TEST_ASSERT(a->size() == 4); in UVector32_API()
177 TEST_ASSERT(a->lastElementi() == 30); in UVector32_API()
190 TEST_ASSERT(a->indexOf(30, 0) == 2); in UVector32_API()
191 TEST_ASSERT(a->indexOf(40, 0) == -1); in UVector32_API()
192 TEST_ASSERT(a->indexOf(10, 0) == 0); in UVector32_API()
193 TEST_ASSERT(a->indexOf(10, 1) == -1); in UVector32_API()
206 TEST_ASSERT(a->contains(10) == TRUE); in UVector32_API()
207 TEST_ASSERT(a->contains(11) == FALSE); in UVector32_API()
208 TEST_ASSERT(a->contains(20) == TRUE); in UVector32_API()
209 TEST_ASSERT(a->contains(-10) == FALSE); in UVector32_API()
223 TEST_ASSERT(a->containsAll(*b) == TRUE); in UVector32_API()
225 TEST_ASSERT(a->containsAll(*b) == FALSE); in UVector32_API()
227 TEST_ASSERT(a->containsAll(*b) == TRUE); in UVector32_API()
228 TEST_ASSERT(b->containsAll(*a) == FALSE); in UVector32_API()
231 TEST_ASSERT(a->containsAll(*b) == TRUE); in UVector32_API()
232 TEST_ASSERT(b->containsAll(*a) == TRUE); in UVector32_API()
234 TEST_ASSERT(a->containsAll(*b) == FALSE); in UVector32_API()
235 TEST_ASSERT(b->containsAll(*a) == TRUE); in UVector32_API()
250 TEST_ASSERT(a->size() == 3); in UVector32_API()
253 TEST_ASSERT(a->size() == 2); in UVector32_API()
254 TEST_ASSERT(a->contains(10)==TRUE); in UVector32_API()
255 TEST_ASSERT(a->contains(30)==TRUE); in UVector32_API()
258 TEST_ASSERT(a->size() == 1); in UVector32_API()
259 TEST_ASSERT(a->contains(30) == TRUE); in UVector32_API()
278 TEST_ASSERT(a->size() == 3); in UVector32_API()
281 TEST_ASSERT(a->contains(20) == FALSE); in UVector32_API()
282 TEST_ASSERT(a->size() == 2); in UVector32_API()
284 TEST_ASSERT(b->size() == 0); in UVector32_API()
286 TEST_ASSERT(a->size() == 0); in UVector32_API()
308 TEST_ASSERT(a->isEmpty() == TRUE); in UVector32_API()
310 TEST_ASSERT(a->isEmpty() == FALSE); in UVector32_API()
313 TEST_ASSERT(a->isEmpty() == FALSE); in UVector32_API()
315 TEST_ASSERT(a->isEmpty() == TRUE); in UVector32_API()
325 TEST_ASSERT(a->isEmpty() == TRUE); in UVector32_API()
327 TEST_ASSERT(a->ensureCapacity(5000, status)== TRUE); in UVector32_API()
328 TEST_ASSERT(a->expandCapacity(20000, status) == TRUE); in UVector32_API()
341 TEST_ASSERT(a->size() == 100); in UVector32_API()
342 TEST_ASSERT(a->elementAti(0) == 10); in UVector32_API()
343 TEST_ASSERT(a->elementAti(1) == 20); in UVector32_API()
344 TEST_ASSERT(a->elementAti(2) == 30); in UVector32_API()
345 TEST_ASSERT(a->elementAti(3) == 0); in UVector32_API()
348 TEST_ASSERT(a->elementAti(99) == 666); in UVector32_API()
349 TEST_ASSERT(a->elementAti(100) == 0); in UVector32_API()
351 TEST_ASSERT(a->elementAti(1) == 20); in UVector32_API()
352 TEST_ASSERT(a->elementAti(2) == 0); in UVector32_API()
353 TEST_ASSERT(a->size() == 2); in UVector32_API()
355 TEST_ASSERT(a->empty() == TRUE); in UVector32_API()
356 TEST_ASSERT(a->size() == 0); in UVector32_API()
370 TEST_ASSERT(a->containsNone(*b) == TRUE); in UVector32_API()
372 TEST_ASSERT(a->containsNone(*b) == TRUE); in UVector32_API()
374 TEST_ASSERT(a->containsNone(*b) == FALSE); in UVector32_API()
388 TEST_ASSERT(a->elementAti(0) == 10); in UVector32_API()
389 TEST_ASSERT(a->elementAti(1) == 20); in UVector32_API()
390 TEST_ASSERT(a->elementAti(2) == 30); in UVector32_API()
403 TEST_ASSERT(buf[0] == 10); in UVector32_API()
404 TEST_ASSERT(buf[1] == 20); in UVector32_API()
409 TEST_ASSERT(resizedBuf[0] == 10); in UVector32_API()
410 TEST_ASSERT(resizedBuf[1] == 20); in UVector32_API()
421 TEST_ASSERT(a->empty() == TRUE); in UVector32_API()
423 TEST_ASSERT(a->empty() == FALSE); in UVector32_API()
426 TEST_ASSERT(a->empty() == FALSE); in UVector32_API()
428 TEST_ASSERT(a->empty() == TRUE); in UVector32_API()
439 TEST_ASSERT(a->peeki() == 10); in UVector32_API()
441 TEST_ASSERT(a->peeki() == 20); in UVector32_API()
443 TEST_ASSERT(a->peeki() == 30); in UVector32_API()
456 TEST_ASSERT(a->popi() == 30); in UVector32_API()
457 TEST_ASSERT(a->popi() == 20); in UVector32_API()
458 TEST_ASSERT(a->popi() == 10); in UVector32_API()
459 TEST_ASSERT(a->popi() == 0); in UVector32_API()
460 TEST_ASSERT(a->isEmpty()); in UVector32_API()
469 TEST_ASSERT(a->push(10, status) == 10); in UVector32_API()
470 TEST_ASSERT(a->push(20, status) == 20); in UVector32_API()
471 TEST_ASSERT(a->push(30, status) == 30); in UVector32_API()
472 TEST_ASSERT(a->size() == 3); in UVector32_API()
473 TEST_ASSERT(a->popi() == 30); in UVector32_API()
474 TEST_ASSERT(a->popi() == 20); in UVector32_API()
475 TEST_ASSERT(a->popi() == 10); in UVector32_API()
476 TEST_ASSERT(a->isEmpty()); in UVector32_API()