()
| 1246 | |
| 1247 | #[test] |
| 1248 | fn test_word_diff_many_changes() { |
| 1249 | let old = b"a b c d e"; |
| 1250 | let new = b"w x y z"; |
| 1251 | |
| 1252 | let result = word_diff(old, new); |
| 1253 | assert!(result.has_changes()); |
| 1254 | assert!(result.edit_distance() > 0); |
| 1255 | } |
| 1256 | |
| 1257 | #[test] |
| 1258 | fn test_merge_adjacent_equals() { |
nothing calls this directly
no test coverage detected