()
| 313 | |
| 314 | #[test] |
| 315 | fn encode_precision_6_default() { |
| 316 | let hash = geohash_encode(-73.9857, 40.7580, 6); |
| 317 | assert_eq!(hash.len(), 6); |
| 318 | // Should start with "dr5ru" (NYC area prefix). |
| 319 | assert!(hash.starts_with("dr5ru"), "got {hash}"); |
| 320 | } |
| 321 | |
| 322 | #[test] |
| 323 | fn encode_precision_12() { |
nothing calls this directly
no test coverage detected