()
| 1327 | |
| 1328 | #[test] |
| 1329 | fn test_compare_content_patience() { |
| 1330 | let old = b"hello\nworld\n"; |
| 1331 | let new = b"hello\nbeautiful\nworld\n"; |
| 1332 | |
| 1333 | let ops = compare_content(old, new, Algorithm::Patience); |
| 1334 | |
| 1335 | // Should produce valid diff |
| 1336 | assert!(!ops.is_empty()); |
| 1337 | } |
| 1338 | |
| 1339 | // Encoding Detection Tests |
| 1340 |
nothing calls this directly
no test coverage detected