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

Function test_manifest_display

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

Source from the content-addressed store, hash-verified

300
301#[test]
302fn test_manifest_display() {
303 let manifest = ChunkManifest::new(vec![ChunkManifestEntry::new(0, [0; 32], 32000, 65536)]);
304 let display = format!("{}", manifest);
305 assert!(display.contains("1 chunks"));
306 assert!(display.contains("compressed"));
307}
308
309#[test]
310fn test_manifest_json_roundtrip() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected