Home | History | Annotate | Download | only in tests

Lines Matching refs:REPORTER_ASSERT

17     REPORTER_ASSERT(reporter, 32 == SkCLZ(0));
18 REPORTER_ASSERT(reporter, 31 == SkCLZ(1));
19 REPORTER_ASSERT(reporter, 1 == SkCLZ(1 << 30));
20 REPORTER_ASSERT(reporter, 0 == SkCLZ(~0U));
30 REPORTER_ASSERT(reporter, intri == porta);
53 REPORTER_ASSERT(reporter, std == fast);
93 REPORTER_ASSERT(reporter, prod0 == prod1);
181 REPORTER_ASSERT(reporter, false);
219 REPORTER_ASSERT(reporter, len > 0.999f && len < 1.001f);
291 REPORTER_ASSERT(reporter, x0 == x1);
292 REPORTER_ASSERT(reporter, x0 == x2);
341 REPORTER_ASSERT(reporter, !SkScalarIsNaN(inf));
342 REPORTER_ASSERT(reporter, !SkScalarIsNaN(-inf));
343 REPORTER_ASSERT(reporter, !SkScalarIsFinite(inf));
344 REPORTER_ASSERT(reporter, !SkScalarIsFinite(-inf));
350 REPORTER_ASSERT(reporter, SkScalarIsNaN(nan));
351 REPORTER_ASSERT(reporter, !SkScalarIsNaN(big));
352 REPORTER_ASSERT(reporter, !SkScalarIsNaN(-big));
353 REPORTER_ASSERT(reporter, !SkScalarIsNaN(0));
355 REPORTER_ASSERT(reporter, !SkScalarIsFinite(nan));
356 REPORTER_ASSERT(reporter, SkScalarIsFinite(big));
357 REPORTER_ASSERT(reporter, SkScalarIsFinite(-big));
358 REPORTER_ASSERT(reporter, SkScalarIsFinite(0));
372 REPORTER_ASSERT(reporter, iround == round);
373 REPORTER_ASSERT(reporter, itrunc == trunc);
375 REPORTER_ASSERT(reporter, itrunc <= iround);
376 REPORTER_ASSERT(reporter, iround <= a);
377 REPORTER_ASSERT(reporter, iround <= b);
388 REPORTER_ASSERT(reporter, expected_ceiling == webkit_ceiling);
390 REPORTER_ASSERT(reporter, skia_ceiling == webkit_ceiling);
409 REPORTER_ASSERT(reporter,
414 REPORTER_ASSERT(reporter, sk_float_copysign(x, y) == expected);
420 REPORTER_ASSERT(reporter, SkCopySign32(ix, ix) == ix);
421 REPORTER_ASSERT(reporter, SkCopySign32(ix, -ix) == -ix);
422 REPORTER_ASSERT(reporter, SkCopySign32(-ix, ix) == ix);
423 REPORTER_ASSERT(reporter, SkCopySign32(-ix, -ix) == -ix);
426 REPORTER_ASSERT(reporter, SkScalarCopySign(sx, sx) == sx);
427 REPORTER_ASSERT(reporter, SkScalarCopySign(sx, -sx) == -sx);
428 REPORTER_ASSERT(reporter, SkScalarCopySign(-sx, sx) == sx);
429 REPORTER_ASSERT(reporter, SkScalarCopySign(-sx, -sx) == -sx);
464 REPORTER_ASSERT(reporter, SkScalarIsNaN(x));
469 REPORTER_ASSERT(reporter, x == i);
473 REPORTER_ASSERT(reporter, x == SK_Fixed1);
475 REPORTER_ASSERT(reporter, x == SK_Fixed1/2);
477 REPORTER_ASSERT(reporter, x == SK_Fixed1*2);
480 REPORTER_ASSERT(reporter, x == SK_Fract1);
482 REPORTER_ASSERT(reporter, x == SK_Fract1/2);
484 REPORTER_ASSERT(reporter, x == SK_Fract1/4);
488 REPORTER_ASSERT(reporter, x == SK_Fixed1 * i);
497 REPORTER_ASSERT(reporter, clamp == clamp2);
517 REPORTER_ASSERT(reporter, result == SK_Fixed1);
519 REPORTER_ASSERT(reporter, result == 1);
535 REPORTER_ASSERT(reporter, result != (SkFixed)SK_NaN32);
541 REPORTER_ASSERT(reporter, result == (int32_t)check);
546 REPORTER_ASSERT(reporter, result != (SkFixed)SK_NaN32);
552 REPORTER_ASSERT(reporter, result == (int32_t)check);
564 REPORTER_ASSERT(reporter, result == r2);
572 REPORTER_ASSERT(reporter, diff <= 1);
581 REPORTER_ASSERT(reporter, mod == 0 || (mod < 0) == (m < 0));
583 REPORTER_ASSERT(reporter, (diff >> 7) == 0);
593 REPORTER_ASSERT(reporter, xr == check ||
600 REPORTER_ASSERT(reporter, xr == check || xr == check-1);
605 REPORTER_ASSERT(reporter, xr == check || xr == check-1);
612 REPORTER_ASSERT(reporter, s == 0);
613 REPORTER_ASSERT(reporter, c == SK_Fixed1);
678 REPORTER_ASSERT(reporter, 0x1122 == SkTEndianSwap16<0x2211>::value);
679 REPORTER_ASSERT(reporter, 0x11223344 == SkTEndianSwap32<0x44332211>::value);
680 REPORTER_ASSERT(reporter, 0x1122334455667788ULL == SkTEndianSwap64<0x8877665544332211ULL>::value);
683 REPORTER_ASSERT(reporter, g16[i].fYang == SkEndianSwap16(g16[i].fYin));
686 REPORTER_ASSERT(reporter, g32[i].fYang == SkEndianSwap32(g32[i].fYin));
689 REPORTER_ASSERT(reporter, g64[i].fYang == SkEndianSwap64(g64[i].fYin));