Lines Matching refs:ASSERT
15 ASSERT(tail.size() == 0);
16 ASSERT(tail.empty());
17 ASSERT(tail.total_size() == sizeof(marisa::UInt32));
22 ASSERT(tail.size() == 0);
23 ASSERT(tail.empty());
24 ASSERT(tail.total_size() == sizeof(marisa::UInt32));
30 ASSERT(tail.size() == 1);
31 ASSERT(tail.mode() == MARISA_BINARY_TAIL);
32 ASSERT(!tail.empty());
33 ASSERT(tail.total_size() == (sizeof(marisa::UInt32) + tail.size()));
34 ASSERT(offsets.size() == keys.size() + 1);
35 ASSERT(offsets[0] == 1);
36 ASSERT(offsets[1] == tail.size());
42 ASSERT(tail.size() == sizeof(binary_key) + 1);
43 ASSERT(tail.mode() == MARISA_BINARY_TAIL);
44 ASSERT(!tail.empty());
45 ASSERT(tail.total_size() == (sizeof(marisa::UInt32) + tail.size()));
46 ASSERT(offsets.size() == keys.size() + 1);
47 ASSERT(offsets[0] == 1);
48 ASSERT(offsets[1] == tail.size());
52 ASSERT(tail.size() == sizeof(binary_key) + 1);
53 ASSERT(tail.mode() == MARISA_BINARY_TAIL);
54 ASSERT(!tail.empty());
55 ASSERT(tail.total_size() == (sizeof(marisa::UInt32) + tail.size()));
56 ASSERT(offsets.size() == keys.size() + 1);
57 ASSERT(offsets[0] == 1);
58 ASSERT(offsets[1] == tail.size());
70 ASSERT(tail.size() == 15);
71 ASSERT(tail.mode() == MARISA_BINARY_TAIL);
72 ASSERT(!tail.empty());
73 ASSERT(tail.total_size() == (sizeof(marisa::UInt32) + tail.size()));
77 ASSERT(tail.size() == 15);
78 ASSERT(tail.mode() == MARISA_BINARY_TAIL);
79 ASSERT(!tail.empty());
80 ASSERT(tail.total_size() == (sizeof(marisa::UInt32) + tail.size()));
81 ASSERT(offsets.size() == 7);
83 ASSERT(marisa::String(reinterpret_cast<const char *>(tail[offsets[i]]),
90 ASSERT(tail.size() == 0);
91 ASSERT(tail.empty());
92 ASSERT(tail.total_size() == sizeof(marisa::UInt32));
97 ASSERT(tail.size() == 15);
98 ASSERT(tail.mode() == MARISA_BINARY_TAIL);
99 ASSERT(!tail.empty());
100 ASSERT(tail.total_size() == (sizeof(marisa::UInt32) + tail.size()));
102 ASSERT(marisa::String(reinterpret_cast<const char *>(tail[offsets[i]]),
109 ASSERT(tail.size() == 15);
110 ASSERT(tail.mode() == MARISA_BINARY_TAIL);
111 ASSERT(!tail.empty());
112 ASSERT(tail.total_size() == (sizeof(marisa::UInt32) + tail.size()));
114 ASSERT(marisa::String(reinterpret_cast<const char *>(tail[offsets[i]]),
124 ASSERT(tail.size() == 15);
125 ASSERT(tail.mode() == MARISA_BINARY_TAIL);
126 ASSERT(!tail.empty());
127 ASSERT(tail.total_size() == (sizeof(marisa::UInt32) + tail.size()));
129 ASSERT(marisa::String(reinterpret_cast<const char *>(tail[offsets[i]]),
143 ASSERT(tail.size() == 0);
144 ASSERT(tail.empty());
145 ASSERT(tail.total_size() == sizeof(marisa::UInt32));
151 ASSERT(tail.size() == 2);
152 ASSERT(tail.mode() == MARISA_TEXT_TAIL);
153 ASSERT(!tail.empty());
154 ASSERT(tail.total_size() == (sizeof(marisa::UInt32) + tail.size()));
155 ASSERT(offsets.size() == keys.size());
156 ASSERT(offsets[0] == 1);
157 ASSERT(*tail[offsets[0]] == '\0');
169 ASSERT(tail.size() == 12);
170 ASSERT(tail.mode() == MARISA_TEXT_TAIL);
171 ASSERT(!tail.empty());
172 ASSERT(tail.total_size() == (sizeof(marisa::UInt32) + tail.size()));
176 ASSERT(tail.size() == 12);
177 ASSERT(tail.mode() == MARISA_TEXT_TAIL);
178 ASSERT(!tail.empty());
179 ASSERT(tail.total_size() == (sizeof(marisa::UInt32) + tail.size()));
180 ASSERT(offsets.size() == keys.size());
182 ASSERT(marisa::String(reinterpret_cast<const char *>(
189 ASSERT(tail.size() == 0);
190 ASSERT(tail.empty());
191 ASSERT(tail.total_size() == sizeof(marisa::UInt32));
196 ASSERT(tail.size() == 12);
197 ASSERT(tail.mode() == MARISA_TEXT_TAIL);
198 ASSERT(!tail.empty());
199 ASSERT(tail.total_size() == sizeof(marisa::UInt32) + tail.size());
201 ASSERT(marisa::String(reinterpret_cast<const char *>(
208 ASSERT(tail.size() == 12);
209 ASSERT(tail.mode() == MARISA_TEXT_TAIL);
210 ASSERT(!tail.empty());
211 ASSERT(tail.total_size() == sizeof(marisa::UInt32) + tail.size());
213 ASSERT(marisa::String(reinterpret_cast<const char *>(
223 ASSERT(tail.size() == 12);
224 ASSERT(tail.mode() == MARISA_TEXT_TAIL);
225 ASSERT(!tail.empty());
226 ASSERT(tail.total_size() == sizeof(marisa::UInt32) + tail.size());
228 ASSERT(marisa::String(reinterpret_cast<const char *>(