I have completed this week assignment, but the last unittest
w1_unittest.test_min_edit_distance(min_edit_distance)
gave me an error:
Distance matrix has wrong values.
Expected: [[ 0 2 4 6 8 10]
[ 2 0 2 4 6 8]
[ 4 2 0 2 4 6]
[ 6 4 2 0 2 4]
[ 8 6 4 2 3 5]].
Got: [[0 1 2 3 4 5]
[1 0 2 4 6 7]
[2 2 0 2 4 6]
[3 4 2 0 2 4]
[4 6 4 2 3 5]].
15 Tests passed
1 Tests failed
But I see that the expected result has this array in the first row - [ 0 2 4 6 8 10]
. How is it possible?