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

Function test_content_chunk_end

atomic-core/src/change/format_v3/chunking.rs:976–984  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

974
975 #[test]
976 fn test_content_chunk_end() {
977 let chunk = ContentChunk {
978 offset: 100,
979 length: 50,
980 hash: [0; 32],
981 index: 0,
982 };
983 assert_eq!(chunk.end(), 150);
984 }
985
986 #[test]
987 fn test_content_chunk_is_empty() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected