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

Function test_manifest_entry_display

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

Source from the content-addressed store, hash-verified

188
189#[test]
190fn test_manifest_entry_display() {
191 let entry = ChunkManifestEntry::new(
192 3,
193 [
194 0xAB, 0xCD, 0xEF, 0x01, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
195 0, 0, 0, 0, 0, 0, 0,
196 ],
197 30000,
198 65536,
199 );
200 let display = format!("{}", entry);
201 assert!(display.contains("chunk#3"));
202 assert!(display.contains("abcdef01"));
203}
204
205#[test]
206fn test_manifest_entry_json_roundtrip() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected