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

Function entries_enumeration

nodedb-spatial/src/rtree/tree.rs:274–280  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

272
273 #[test]
274 fn entries_enumeration() {
275 let mut tree = RTree::new();
276 for i in 0..10 {
277 tree.insert(make_entry(i, i as f64, i as f64));
278 }
279 assert_eq!(tree.entries().len(), 10);
280 }
281}

Callers

nothing calls this directly

Calls 2

make_entryFunction · 0.70
insertMethod · 0.45

Tested by

no test coverage detected