()
| 306 | |
| 307 | #[test] |
| 308 | fn encode_precision_1() { |
| 309 | let hash = geohash_encode(0.0, 0.0, 1); |
| 310 | assert_eq!(hash.len(), 1); |
| 311 | assert_eq!(hash, "s"); // origin maps to 's' cell |
| 312 | } |
| 313 | |
| 314 | #[test] |
| 315 | fn encode_precision_6_default() { |
nothing calls this directly
no test coverage detected