mirror of
http://github.com/valkey-io/valkey
synced 2024-11-22 18:54:58 +00:00
Geo: GEORADIUS COUNT tests.
This commit is contained in:
parent
7cd2a4e196
commit
f6edd0cb93
@ -56,6 +56,14 @@ start_server {tags {"geo"}} {
|
||||
r georadius nyc -73.9798091 40.7598464 3 km withdist asc
|
||||
} {{{central park n/q/r} 0.7750} {4545 2.3651} {{union square} 2.7697}}
|
||||
|
||||
test {GEORADIUS with COUNT} {
|
||||
r georadius nyc -73.9798091 40.7598464 10 km COUNT 3
|
||||
} {{central park n/q/r} 4545 {union square}}
|
||||
|
||||
test {GEORADIUS with COUNT DESC} {
|
||||
r georadius nyc -73.9798091 40.7598464 10 km COUNT 2 DESC
|
||||
} {{wtc one} q4}
|
||||
|
||||
test {GEORADIUSBYMEMBER simple (sorted)} {
|
||||
r georadiusbymember nyc "wtc one" 7 km
|
||||
} {{wtc one} {union square} {central park n/q/r} 4545 {lic market}}
|
||||
|
Loading…
Reference in New Issue
Block a user