public async Task Can_GetGeohashes() { await redis.FlushDbAsync(); await redis.AddGeoMembersAsync("Sicily", new[] { new RedisGeo(13.361389, 38.115556, "Palermo"), new RedisGeo(15.087269, 37.502669, "Catania") }); var hashes = await redis.GetGeohashesAsync("Sicily", new[] { "Palermo", "Catania" }); Assert.That(hashes[0], Is.EqualTo("sqc8b49rny0")); Assert.That(hashes[1], Is.EqualTo("sqdtr74hyu0")); hashes = await redis.GetGeohashesAsync("Sicily", new[] { "Palermo", "NonExistingMember", "Catania" }); Assert.That(hashes[0], Is.EqualTo("sqc8b49rny0")); Assert.That(hashes[1], Is.Null); Assert.That(hashes[2], Is.EqualTo("sqdtr74hyu0")); }