Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
04c71068
Commit
04c71068
authored
Dec 18, 2009
by
antirez
Browse files
modified a bit the ZREVRANGE test to cover a few lines of code more
parent
ac945e2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
test-redis.tcl
View file @
04c71068
...
@@ -1185,12 +1185,9 @@ proc main {server port} {
...
@@ -1185,12 +1185,9 @@ proc main {server port} {
}
{}
}
{}
test
{
ZRANGE and ZREVRANGE basics
}
{
test
{
ZRANGE and ZREVRANGE basics
}
{
list
[
$r
zrange ztmp 0 -1
]
[
$r
zrevrange ztmp 0 -1
]
list
[
$r
zrange ztmp 0 -1
]
[
$r
zrevrange ztmp 0 -1
]
\
}
{{
y x z
}
{
z x y
}}
[
$r
zrange ztmp 1 -1
]
[
$r
zrevrange ztmp 1 -1
]
}
{{
y x z
}
{
z x y
}
{
x z
}
{
x y
}}
test
{
ZRANGE and ZREVRANGE stress testing
}
{
list
[
$r
zrange ztmp 0 -1
]
[
$r
zrevrange ztmp 0 -1
]
}
{{
y x z
}
{
z x y
}}
test
{
ZSETs stress tester - sorting is working well?
}
{
test
{
ZSETs stress tester - sorting is working well?
}
{
set delta 0
set delta 0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment