Lines Matching refs:CHECK_EQ
41 CHECK_EQ(-1000000, FastD2I(-1000000.0)); in TEST()
42 CHECK_EQ(-1, FastD2I(-1.0)); in TEST()
43 CHECK_EQ(0, FastD2I(0.0)); in TEST()
44 CHECK_EQ(1, FastD2I(1.0)); in TEST()
45 CHECK_EQ(1000000, FastD2I(1000000.0)); in TEST()
47 CHECK_EQ(-1000000, FastD2I(-1000000.123)); in TEST()
48 CHECK_EQ(-1, FastD2I(-1.234)); in TEST()
49 CHECK_EQ(0, FastD2I(0.345)); in TEST()
50 CHECK_EQ(1, FastD2I(1.234)); in TEST()
51 CHECK_EQ(1000000, FastD2I(1000000.123)); in TEST()
56 CHECK_EQ(-2, -8 >> 2); in TEST()
57 CHECK_EQ(-2, static_cast<int8_t>(-8) >> 2); in TEST()
58 CHECK_EQ(-2, static_cast<int>(static_cast<intptr_t>(-8) >> 2)); in TEST()
60 CHECK_EQ(-1000000, FastD2IChecked(-1000000.0)); in TEST()
61 CHECK_EQ(-1, FastD2IChecked(-1.0)); in TEST()
62 CHECK_EQ(0, FastD2IChecked(0.0)); in TEST()
63 CHECK_EQ(1, FastD2IChecked(1.0)); in TEST()
64 CHECK_EQ(1000000, FastD2IChecked(1000000.0)); in TEST()
66 CHECK_EQ(-1000000, FastD2IChecked(-1000000.123)); in TEST()
67 CHECK_EQ(-1, FastD2IChecked(-1.234)); in TEST()
68 CHECK_EQ(0, FastD2IChecked(0.345)); in TEST()
69 CHECK_EQ(1, FastD2IChecked(1.234)); in TEST()
70 CHECK_EQ(1000000, FastD2IChecked(1000000.123)); in TEST()
72 CHECK_EQ(INT_MAX, FastD2IChecked(1.0e100)); in TEST()
73 CHECK_EQ(INT_MIN, FastD2IChecked(-1.0e100)); in TEST()
74 CHECK_EQ(INT_MIN, FastD2IChecked(std::numeric_limits<double>::quiet_NaN())); in TEST()
80 CHECK_EQ(0, BoolComputer::word_count(0)); in TEST()
81 CHECK_EQ(1, BoolComputer::word_count(8)); in TEST()
82 CHECK_EQ(2, BoolComputer::word_count(50)); in TEST()
83 CHECK_EQ(0, BoolComputer::index(0, 8)); in TEST()
84 CHECK_EQ(100, BoolComputer::index(100, 8)); in TEST()
85 CHECK_EQ(1, BoolComputer::index(0, 40)); in TEST()
89 CHECK_EQ(true, BoolComputer::decode(data, 1)); in TEST()
90 CHECK_EQ(true, BoolComputer::decode(data, 4)); in TEST()
91 CHECK_EQ(false, BoolComputer::decode(data, 0)); in TEST()
92 CHECK_EQ(false, BoolComputer::decode(data, 2)); in TEST()
93 CHECK_EQ(false, BoolComputer::decode(data, 3)); in TEST()
99 CHECK_EQ(words, TwoBits::word_count(3000)); in TEST()
113 CHECK_EQ(i % 4, TwoBits::decode(data, i)); in TEST()
131 CHECK_EQ(0, strncmp(buffer.start(), s, i - 1)); in TEST()
132 CHECK_EQ(kMarker, buffer[i]); in TEST()
134 CHECK_EQ(i - 1, StrLength(buffer.start())); in TEST()
136 CHECK_EQ(length, StrLength(buffer.start())); in TEST()
207 CHECK_EQ(kLoops * (kBlockSize + kSequentialSize), result.length()); in TEST()
211 CHECK_EQ(j * 7, result[offset + j]); in TEST()
213 CHECK_EQ(0xbadcafe, result[offset + kBlockSize - 1]); in TEST()
215 CHECK_EQ(j, result[offset + kBlockSize + j]); in TEST()
235 CHECK_EQ(j, sequence[j]); in TEST()
240 CHECK_EQ(total_length, result.length()); in TEST()
245 CHECK_EQ(j, result[offset]); in TEST()
260 CHECK_EQ(0, strncmp("0123456789012345678901234567890123", in TEST()
274 CHECK_EQ(2, s.t.z[1]); in TEST()
293 CHECK_EQ(j, i); in TEST()