MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_word_diff_edit_distance

Function test_word_diff_edit_distance

atomic-core/src/diff/word.rs:1066–1069  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1064
1065 #[test]
1066 fn test_word_diff_edit_distance() {
1067 let result = word_diff(b"a b c", b"a x c");
1068 assert!(result.edit_distance() > 0);
1069 }
1070
1071 #[test]
1072 fn test_word_diff_tokens_in_range() {

Callers

nothing calls this directly

Calls 1

word_diffFunction · 0.85

Tested by

no test coverage detected