()
| 170 | |
| 171 | #[test] |
| 172 | fn test_manifest_entry_new() { |
| 173 | let entry = ChunkManifestEntry::new(0, [0xAA; 32], 32000, 65536); |
| 174 | assert_eq!(entry.index, 0); |
| 175 | assert_eq!(entry.hash, [0xAA; 32]); |
| 176 | assert_eq!(entry.compressed_size, 32000); |
| 177 | assert_eq!(entry.uncompressed_size, 65536); |
| 178 | } |
| 179 | |
| 180 | #[test] |
| 181 | fn test_manifest_entry_compression_ratio() { |
nothing calls this directly
no outgoing calls
no test coverage detected