geo_test.go
geo_test.go - Overview
This file contains tests for the Geo commands, specifically GEOADD
, GEODIST
, GEOPOS
, and GEOHASH
.
Detailed Documentation
TestGeoAdd
- Purpose: Tests the
GEOADD
command. - Parameters:
t
:*testing.T
- Testing context.
- Returns: None
TestGeoDist
- Purpose: Tests the
GEODIST
command. - Parameters:
t
:*testing.T
- Testing context.
- Returns: None
TestGeoPos
- Purpose: Tests the
GEOPOS
command. - Parameters:
t
:*testing.T
- Testing context.
- Returns: None
TestGeoHash
- Purpose: Tests the
GEOHASH
command. - Parameters:
t
:*testing.T
- Testing context.
- Returns: None