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

Function assert_attack_failed

rust/tests/test_utils.rs:493–495  ·  view source on GitHub ↗

Legacy compatibility - verify attack failed

(tree: &BPlusTreeMap<i32, String>, context: &str)

Source from the content-addressed store, hash-verified

491
492/// Legacy compatibility - verify attack failed
493pub fn assert_attack_failed(tree: &BPlusTreeMap<i32, String>, context: &str) {
494 assert_invariants(tree, context);
495}
496
497/// Legacy compatibility - verify attack failed for integer trees
498pub fn assert_attack_failed_int(tree: &BPlusTreeMap<i32, i32>, context: &str) {

Calls 1

assert_invariantsFunction · 0.85

Tested by

no test coverage detected