Lines Matching refs:assert

15         assert {$ttl >= 3000 && $ttl <= 5000}
25 assert {$ttl >= (2569591501-3000) && $ttl <= 2569591501}
85 assert {[$first exists key] == 1}
86 assert {[$second exists key] == 0}
88 assert {$ret eq {OK}}
89 assert {[$first exists key] == 0}
90 assert {[$second exists key] == 1}
91 assert {[$second get key] eq {Some Value}}
92 assert {[$second ttl key] == -1}
105 assert {[$first exists list] == 1}
106 assert {[$second exists list] == 0}
108 assert {$ret eq {OK}}
109 assert {[$first exists list] == 1}
110 assert {[$second exists list] == 1}
111 assert {[$first lrange list 0 -1] eq [$second lrange list 0 -1]}
124 assert {[$first exists list] == 1}
125 assert {[$second exists list] == 0}
130 assert {$ret eq {OK}}
131 assert {[$first exists list] == 1}
132 assert {[$second exists list] == 1}
133 assert {[$first lrange list 0 -1] eq [$second lrange list 0 -1]}
145 assert {[$first exists key] == 1}
146 assert {[$second exists key] == 0}
149 assert {$ret eq {OK}}
150 assert {[$first exists key] == 0}
151 assert {[$second exists key] == 1}
152 assert {[$second get key] eq {Some Value}}
153 assert {[$second ttl key] >= 7 && [$second ttl key] <= 10}
165 assert {[string length [r dump key]] > (1024*64)}
171 assert {[$first exists key] == 1}
172 assert {[$second exists key] == 0}
174 assert {$ret eq {OK}}
175 assert {[$first exists key] == 0}
176 assert {[$second exists key] == 1}
177 assert {[$second ttl key] == -1}
178 assert {[$second llen key] == 40000*20}
192 assert {[$first exists key] == 1}
193 assert {[$second exists key] == 0}
195 assert {$ret eq {OK}}
196 assert {[$first exists key] == 0}
197 assert {[$second exists key] == 1}
198 assert {[$second ttl key] == -1}
210 assert {[$first exists key] == 1}
211 assert {[$second exists key] == 0}
231 assert {[$first exists key1] == 1}
232 assert {[$second exists key1] == 0}
234 assert {$ret eq {OK}}
235 assert {[$first exists key1] == 0}
236 assert {[$first exists key2] == 0}
237 assert {[$first exists key3] == 0}
238 assert {[$second get key1] eq {v1}}
239 assert {[$second get key2] eq {v2}}
240 assert {[$second get key3] eq {v3}}
260 assert {$ret eq {NOKEY}}
262 assert {[$first exists key1] == 1}
263 assert {[$second exists key1] == 0}
265 assert {$ret eq {OK}}
266 assert {[$first exists key1] == 0}
267 assert {[$first exists key2] == 0}
268 assert {[$first exists key3] == 0}
269 assert {[$second get key1] eq {v1}}
270 assert {[$second get key2] eq {v2}}
271 assert {[$second get key3] eq {v3}}
286 assert {[$first dbsize] == 0}
287 assert {[$second dbsize] == 15}
304 assert {[$first dbsize] == 2}
305 assert {[$second dbsize] == 15}
306 assert {[$first exists c] == 1}
307 assert {[$first exists d] == 1}