Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public void Can_GeoDist() { redis.FlushDb(); redis.GeoAdd("Sicily", new RedisGeo(13.361389, 38.115556, "Palermo"), new RedisGeo(15.087269, 37.502669, "Catania")); var distance = redis.GeoDist("Sicily", "Palermo", "Catania"); Assert.That(distance, Is.EqualTo(166274.15156960039).Within(.1)); }