Home | History | Annotate | Download | only in tests

Lines Matching refs:TEST_EQ

26   TEST_EQ(CombineUint16Pair(1, 2), 0x00010002, "CombineUint16Pair");
27 TEST_EQ(CombineUint16Pair(0xFFFE, 0xFFFF), 0xFFFEFFFF,
29 TEST_EQ(CombineUint16Pair(-4, -16), 0xFFFCFFF0,
31 TEST_EQ(CombineUint16Pair(0x10003, 0x10004), 0x00030004,
34 TEST_EQ(Min(1, 2), 1, "Min 1");
35 TEST_EQ(Min(4, 3), 3, "Min 2");
36 TEST_EQ(Min(5, 5), 5, "Min 5");
37 TEST_EQ(Min(a, b), b, "Min uint64 1");
38 TEST_EQ(Min(b, a), b, "Min uint64 2");
39 TEST_EQ(Min(b, b), b, "Min uint64 same");
41 TEST_EQ(u >> 8, v, "uint64_t >> 8");
42 TEST_EQ(u >> 0, u, "uint64_t >> 0");
43 TEST_EQ(u >> 36, (uint64_t)0xABC, "uint64_t >> 36");
45 TEST_EQ(v * (uint32_t)0, 0, "uint64_t * uint32_t 0");
46 TEST_EQ(v * (uint32_t)1, v, "uint64_t * uint32_t 1");
47 TEST_EQ(v * (uint32_t)256, u, "uint64_t * uint32_t 256");
54 TEST_EQ(0, SafeMemcmp("APPLE", "TIGER", 0), "SafeMemcmp() size=0");
57 TEST_EQ(0, SafeMemcmp("clonebob", "clonebob", 8), "SafeMemcmp() equal");
59 TEST_EQ(0, SafeMemcmp("clonebob", "clonedan", 5), "SafeMemcmp() equal2");
61 TEST_EQ(1, SafeMemcmp("APPLE", "TIGER", 5), "SafeMemcmp() unequal");
62 TEST_EQ(1, SafeMemcmp("APPLE", "APPLe", 5), "SafeMemcmp() unequal 2");