Lines Matching refs:ASSERT
16 #define ASSERT(x) REPORTER_ASSERT(r, x) macro
36 ASSERT(algorithm(nullptr, 0) == 0); in DEF_TEST()
40 ASSERT(hash == algorithm(data, kBytes)); in DEF_TEST()
47 ASSERT(tweakedHash != hash); in DEF_TEST()
48 ASSERT(tweakedHash == algorithm(tweaked, kBytes)); in DEF_TEST()
55 ASSERT(SkGoodHash()(( int32_t)4) == 614249093); // 4 bytes. Hits SkChecksum::Mix fast path. in DEF_TEST()
56 ASSERT(SkGoodHash()((uint32_t)4) == 614249093); // (Ditto) in DEF_TEST()
59 ASSERT(SkGoodHash()((uint64_t)4) == 3491892518); in DEF_TEST()
60 ASSERT(SkGoodHash()((uint16_t)4) == 899251846); in DEF_TEST()
61 ASSERT(SkGoodHash()( (uint8_t)4) == 962700458); in DEF_TEST()
64 ASSERT(SkGoodHash()(SkString("Hi")) == 55667557); in DEF_TEST()