wagner-fisher & werner algorithms working
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package editdistance
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestMin(t *testing.T) {
|
||||
mins := min(1, 2, 3, 4, 5)
|
||||
if mins != 1 {
|
||||
t.Errorf("Min was incorrect, got %d, want %d.", mins, 1)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user