• antirez's avatar
    Geo: GEORADIUS fuzzy testing by reimplementing it in Tcl. · cf89a19f
    antirez authored
    We set random points in the world, pick a random position, and check if
    the returned points by Redis match the ones computed by Tcl by brute
    forcing all the points using the distance between two points formula.
    
    This approach is sounding since immediately resulted in finding a bug in
    the original implementation.
    cf89a19f
geo.tcl 4.62 KB