From ad6320fa4e91b57115ec60db9480a9136d8b0abd Mon Sep 17 00:00:00 2001 From: Xavier Claude Date: Sun, 7 Aug 2016 10:01:45 +0200 Subject: [PATCH] Adapt tests to digits --- test.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test.py b/test.py index a9bfdad..d882574 100755 --- a/test.py +++ b/test.py @@ -20,8 +20,10 @@ class TestFindInTable(unittest.TestCase): self.assertRaises(nato_converter.IllegalStringSize, nato_converter.find_in_table, "aa") + def test_find_digit(self): + self.assertEqual("Unaone", nato_converter.find_in_table("1")) + def test_find_special_char(self): - self.assertEqual("1", nato_converter.find_in_table("1")) self.assertEqual(u"é", nato_converter.find_in_table(u"é")) if __name__ == '__main__':