Lines Matching refs:assert_equal
49 assert_equal $result [r sort tosort BY weight_*]
53 assert_equal [lrange $result 5 9] [r sort tosort BY weight_* LIMIT 5 5]
57 assert_equal $result [r sort tosort BY wobj_*->weight]
63 assert_equal [lsort -integer $result] [r sort tosort GET #]
69 assert_equal 16 [llength $res]
70 foreach item $res { assert_equal {} $item }
77 assert_equal $id1 $id2
78 assert_equal $w1 [r get weight_$id1]
79 assert_equal $w2 [r get weight_$id1]
85 assert_equal $result [r lrange sort-res 0 -1]
86 assert_equal 16 [r llen sort-res]
92 assert_equal $result [r lrange sort-res 0 -1]
93 assert_equal 16 [r llen sort-res]
106 assert_equal [lsort -decreasing -integer $result] [r sort tosort DESC]
148 assert_equal [r sort zset by nosort asc limit 0 1] {a}
149 assert_equal [r sort zset by nosort desc limit 0 1] {d}
150 assert_equal [r sort zset by nosort asc limit 0 2] {a c}
151 assert_equal [r sort zset by nosort desc limit 0 2] {d b}
152 assert_equal [r sort zset by nosort limit 5 10] {}
153 assert_equal [r sort zset by nosort limit -10 100] {a c e b d}
186 assert_equal [lsort -real $floats] [r sort mylist]