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
575e247a
Commit
575e247a
authored
Jun 22, 2015
by
antirez
Browse files
Geo: fix tests after distance precision change
parent
2f665507
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/unit/geo.tcl
View file @
575e247a
...
...
@@ -21,7 +21,7 @@ start_server {tags {"geo"}} {
test
{
GEORADIUS withdistance
(
sorted
)}
{
r georadius nyc 40.7598464 -73.9798091 3 km withdistance ascending
}
{{{
central park n/q/r
}
0.7
8
}
{
4545 2.3
7
}
{{
union square
}
2.77
}}
}
{{{
central park n/q/r
}
0.7
750
}
{
4545 2.3
651
}
{{
union square
}
2.7
69
7
}}
test
{
GEORADIUSBYMEMBER simple
(
sorted
)}
{
r georadiusbymember nyc
"wtc one"
7 km
...
...
@@ -29,7 +29,7 @@ start_server {tags {"geo"}} {
test
{
GEORADIUSBYMEMBER withdistance
(
sorted
)}
{
r georadiusbymember nyc
"wtc one"
7 km withdist
}
{{{
wtc one
}
0.00
}
{{
union square
}
3.25
}
{{
central park n/q/r
}
6.70
}
{
4545 6.
20
}
{{
lic market
}
6.9
0
}}
}
{{{
wtc one
}
0.00
00
}
{{
union square
}
3.25
44
}
{{
central park n/q/r
}
6.70
00
}
{
4545 6.
1975
}
{{
lic market
}
6.
896
9
}}
test
{
GEOENCODE simple
}
{
r geoencode 41.2358883 1.8063239
...
...
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