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

Function normalize_int_lo_maps_to_zero

nodedb-array/src/coord/normalize.rs:168–172  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

166
167 #[test]
168 fn normalize_int_lo_maps_to_zero() {
169 let s = schema_2d();
170 let n = normalize_coord(&s, &[CoordValue::Int64(0), CoordValue::Int64(0)], 8).unwrap();
171 assert_eq!(n, vec![0, 0]);
172 }
173
174 #[test]
175 fn normalize_int_hi_maps_to_max() {

Callers

nothing calls this directly

Calls 2

schema_2dFunction · 0.85
normalize_coordFunction · 0.85

Tested by

no test coverage detected