MCPcopy Create free account
hub / github.com/KentBeck/BPlusTree3 / test_delete_operations_module_exists

Function test_delete_operations_module_exists

rust/src/delete_operations.rs:256–263  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

254
255 #[test]
256 fn test_delete_operations_module_exists() {
257 // Ensure a new tree is empty and basic insert/remove works
258 let mut tree = BPlusTreeMap::new(4).unwrap();
259 assert_eq!(tree.len(), 0);
260 tree.insert(1, "one".to_string());
261 assert_eq!(tree.remove(&1), Some("one".to_string()));
262 assert_eq!(tree.len(), 0);
263 }
264
265 #[test]
266 fn test_optimized_rebalancing_reduces_arena_access() {

Callers

nothing calls this directly

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected