| Conditions | 1 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | """This module is for testing Levenshtein distance.""" |
||
| 32 | def test_second_longer_equal_one(self): |
||
| 33 | """ |
||
| 34 | Reversed case of the missing character. |
||
| 35 | |||
| 36 | Method should work in both ways and not return a negative difference. |
||
| 37 | """ |
||
| 38 | diff = LEVENSHTEIN.levenshtein("hell", "hello") |
||
| 39 | |||
| 40 | self.assertEqual(diff, 1) |
||
| 41 |