MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_require_existing

Function test_require_existing

atomic-core/src/change/format_v3/hash_table.rs:893–897  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

891
892 #[test]
893 fn test_require_existing() {
894 let h = make_hash(42);
895 let table = HashDedupTable::new(h);
896 assert_eq!(table.require(&h).unwrap(), 0);
897 }
898
899 #[test]
900 fn test_require_missing() {

Callers

nothing calls this directly

Calls 1

make_hashFunction · 0.70

Tested by

no test coverage detected