def test_that_char_to_num_returns_ascii_value(self): result = encode.char_to_num('a') self.assertEqual(ord('a'), result)
def test_that_we_convert_character_to_number(self): result = encode.char_to_num('a') self.assertTrue(type(result) is int)