()
| 188 | |
| 189 | #[test] |
| 190 | fn 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] |
| 206 | fn test_manifest_entry_json_roundtrip() { |
nothing calls this directly
no outgoing calls
no test coverage detected