()
| 1199 | |
| 1200 | #[test] |
| 1201 | fn test_large_file() { |
| 1202 | let wc = Memory::new(); |
| 1203 | let large_data = vec![0u8; 1_000_000]; // 1MB |
| 1204 | wc.add_file("large.bin", &large_data); |
| 1205 | |
| 1206 | let contents = wc.get_file_contents("large.bin").unwrap(); |
| 1207 | assert_eq!(contents.len(), 1_000_000); |
| 1208 | } |
| 1209 | |
| 1210 | #[test] |
| 1211 | fn test_deeply_nested_path() { |
nothing calls this directly
no test coverage detected