Lines Matching refs:assert
15 assert {$ttl >= 3000 && $ttl <= 5000}
25 assert {$ttl >= (2569591501-3000) && $ttl <= 2569591501}
36 assert {$ttl >= 2900 && $ttl <= 3100}
47 assert {$idle >= 1000 && $idle <= 1010}
58 assert {$freq == 100}
118 assert {[$first exists key] == 1}
119 assert {[$second exists key] == 0}
121 assert {$ret eq {OK}}
122 assert {[$first exists key] == 0}
123 assert {[$second exists key] == 1}
124 assert {[$second get key] eq {Some Value}}
125 assert {[$second ttl key] == -1}
138 assert {[$first exists list] == 1}
139 assert {[$second exists list] == 0}
141 assert {$ret eq {OK}}
142 assert {[$first exists list] == 1}
143 assert {[$second exists list] == 1}
144 assert {[$first lrange list 0 -1] eq [$second lrange list 0 -1]}
157 assert {[$first exists list] == 1}
158 assert {[$second exists list] == 0}
163 assert {$ret eq {OK}}
164 assert {[$first exists list] == 1}
165 assert {[$second exists list] == 1}
166 assert {[$first lrange list 0 -1] eq [$second lrange list 0 -1]}
178 assert {[$first exists key] == 1}
179 assert {[$second exists key] == 0}
182 assert {$ret eq {OK}}
183 assert {[$first exists key] == 0}
184 assert {[$second exists key] == 1}
185 assert {[$second get key] eq {Some Value}}
186 assert {[$second ttl key] >= 7 && [$second ttl key] <= 10}
198 assert {[string length [r dump key]] > (1024*64)}
204 assert {[$first exists key] == 1}
205 assert {[$second exists key] == 0}
207 assert {$ret eq {OK}}
208 assert {[$first exists key] == 0}
209 assert {[$second exists key] == 1}
210 assert {[$second ttl key] == -1}
211 assert {[$second llen key] == 40000*20}
225 assert {[$first exists key] == 1}
226 assert {[$second exists key] == 0}
228 assert {$ret eq {OK}}
229 assert {[$first exists key] == 0}
230 assert {[$second exists key] == 1}
231 assert {[$second ttl key] == -1}
243 assert {[$first exists key] == 1}
244 assert {[$second exists key] == 0}
264 assert {[$first exists key1] == 1}
265 assert {[$second exists key1] == 0}
267 assert {$ret eq {OK}}
268 assert {[$first exists key1] == 0}
269 assert {[$first exists key2] == 0}
270 assert {[$first exists key3] == 0}
271 assert {[$second get key1] eq {v1}}
272 assert {[$second get key2] eq {v2}}
273 assert {[$second get key3] eq {v3}}
293 assert {$ret eq {NOKEY}}
295 assert {[$first exists key1] == 1}
296 assert {[$second exists key1] == 0}
298 assert {$ret eq {OK}}
299 assert {[$first exists key1] == 0}
300 assert {[$first exists key2] == 0}
301 assert {[$first exists key3] == 0}
302 assert {[$second get key1] eq {v1}}
303 assert {[$second get key2] eq {v2}}
304 assert {[$second get key3] eq {v3}}
319 assert {[$first dbsize] == 0}
320 assert {[$second dbsize] == 15}
337 assert {[$first dbsize] == 2}
338 assert {[$second dbsize] == 15}
339 assert {[$first exists c] == 1}
340 assert {[$first exists d] == 1}
355 assert {[$first exists list] == 1}
356 assert {[$second exists list] == 0}
358 assert {$ret eq {OK}}
359 assert {[$second exists list] == 1}
360 assert {[$second lrange list 0 -1] eq {d c b a}}