MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / case_insensitive_parse

Function case_insensitive_parse

nodedb-spatial/src/wkt.rs:367–370  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

365
366 #[test]
367 fn case_insensitive_parse() {
368 let parsed = geometry_from_wkt("point(5 10)").unwrap();
369 assert_eq!(parsed, Geometry::point(5.0, 10.0));
370 }
371
372 #[test]
373 fn invalid_wkt_returns_none() {

Callers

nothing calls this directly

Calls 1

geometry_from_wktFunction · 0.85

Tested by

no test coverage detected