Beispiel #1
0
 def test_edit_distance(self):
     self.assertEqual(edit_distance('food', 'money'), 4)
     self.assertEqual(edit_distance('horse', 'ros'), 3)
 def test_edit_distance(self):
     self.assertEqual(edit_distance('food', 'money'), 4)
     self.assertEqual(edit_distance('horse', 'ros'), 3)
 def test_edit_distance(self):
     self.assertEqual(edit_distance("food", "money"), 4)
     self.assertEqual(edit_distance("horse", "ros"), 3)