public void DirectionEncodeTest() { /* * * eusftqx6 eusftqxd eusftqxf * eusftqx3 eusftqx9 eusftqxc * eusftqx2 eusftqx8 eusftqxb * */ Assert.Equal("eusftqxd", GeoHash.GetAdjacent("eusftqx9", CardinalDirection.North)); Assert.Equal("eusftqx8", GeoHash.GetAdjacent("eusftqx9", CardinalDirection.South)); Assert.Equal("eusftqxc", GeoHash.GetAdjacent("eusftqx9", CardinalDirection.East)); Assert.Equal("eusftqx3", GeoHash.GetAdjacent("eusftqx9", CardinalDirection.West)); }