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

Function test_negotiation_empty_manifest

atomic-remote/src/streaming/tests.rs:450–455  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

448
449#[test]
450fn test_negotiation_empty_manifest() {
451 let manifest = ChunkManifest::empty();
452 let result = ChunkNegotiation::compute(&manifest, &[[0xAA; 32]]);
453 assert!(result.is_complete());
454 assert_eq!(result.total_chunks, 0);
455}
456
457#[test]
458fn test_negotiation_extra_haves_ignored() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected