public void Should_Give_Neighbor() { var hasher = new Geohasher(); Assert.Equal("u33dc1", hasher.GetNeighbor("u33dc0", Direction.North)); Assert.Equal("u33dc3", hasher.GetNeighbor("u33dc0", Direction.NorthEast)); Assert.Equal("u33dc2", hasher.GetNeighbor("u33dc0", Direction.East)); Assert.Equal("u33d9r", hasher.GetNeighbor("u33dc0", Direction.SouthEast)); Assert.Equal("u33d9p", hasher.GetNeighbor("u33dc0", Direction.South)); Assert.Equal("u33d8z", hasher.GetNeighbor("u33dc0", Direction.SouthWest)); Assert.Equal("u33dbb", hasher.GetNeighbor("u33dc0", Direction.West)); Assert.Equal("u33dbc", hasher.GetNeighbor("u33dc0", Direction.NorthWest)); }