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

Function test_lookup_missing

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

Source from the content-addressed store, hash-verified

885
886 #[test]
887 fn test_lookup_missing() {
888 let table = HashDedupTable::new(make_hash(0));
889 assert_eq!(table.lookup(&make_hash(99)), None);
890 }
891
892 #[test]
893 fn test_require_existing() {

Callers

nothing calls this directly

Calls 1

make_hashFunction · 0.70

Tested by

no test coverage detected