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

Function identical_points

nodedb-spatial/src/predicates/intersection.rs:308–313  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

306
307 #[test]
308 fn identical_points() {
309 let a = Geometry::point(5.0, 5.0);
310 let b = Geometry::point(5.0, 5.0);
311 let result = st_intersection(&a, &b);
312 assert_eq!(result.geometry_type(), "Point");
313 }
314
315 #[test]
316 fn different_points() {

Callers

nothing calls this directly

Calls 1

st_intersectionFunction · 0.85

Tested by

no test coverage detected