Exemple #1
0
 def test_find_lower(self):
     self.assertEqual("alpha", nato_converter.find_in_table("a"))
Exemple #2
0
 def test_find_special_char(self):
     self.assertEqual(u"é", nato_converter.find_in_table(u"é"))
Exemple #3
0
 def test_find_space(self):
     self.assertEqual("", nato_converter.find_in_table(" "))
     self.assertEqual("", nato_converter.find_in_table("\t"))
     self.assertEqual("", nato_converter.find_in_table("\n"))
Exemple #4
0
 def test_find_digit(self):
     self.assertEqual("Unaone", nato_converter.find_in_table("1"))
Exemple #5
0
 def test_find_upper(self):
     self.assertEqual("ALPHA", nato_converter.find_in_table("A"))