MCPcopy Create free account
hub / github.com/alexfertel/rust-algorithms / equal_strings

Function equal_strings

src/dynamic_programming/edit_distance.rs:93–98  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

91
92 #[test]
93 fn equal_strings() {
94 assert_eq!(0, edit_distance("Hello, world!", "Hello, world!"));
95 assert_eq!(0, edit_distance_se("Hello, world!", "Hello, world!"));
96 assert_eq!(0, edit_distance("Test_Case_#1", "Test_Case_#1"));
97 assert_eq!(0, edit_distance_se("Test_Case_#1", "Test_Case_#1"));
98 }
99
100 #[test]
101 fn one_edit_difference() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected