Exemple #1
0
 def test_confusable_out_of_bounds(self):
   max_confusable_plus_one = chr(max(confusables_table.keys()) + 1)
   self.assertEqual(max_confusable_plus_one,
                    confusables.skeleton(max_confusable_plus_one))
Exemple #2
0
 def test_confusable_zero(self):
   self.assertEqual('\0', confusables.skeleton('\0'))
Exemple #3
0
 def test_method(self):
   self.assertEqual(v, confusables.skeleton(chr(k)))