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

Function test_resolve_valid

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

Source from the content-addressed store, hash-verified

908
909 #[test]
910 fn test_resolve_valid() {
911 let h = make_hash(7);
912 let table = HashDedupTable::new(h);
913 assert_eq!(table.resolve(0), Some(&h));
914 }
915
916 #[test]
917 fn test_resolve_out_of_bounds() {

Callers

nothing calls this directly

Calls 1

make_hashFunction · 0.70

Tested by

no test coverage detected