mirror of
https://github.com/lowobservable/oec.git
synced 2026-03-07 03:35:48 +00:00
Add mappings for caret and tilde characters
This commit is contained in:
@@ -9,7 +9,7 @@ class EncodeAsciiCharacterTestCase(unittest.TestCase):
|
||||
self.assertEqual(encode_ascii_character(ord('a')), 0x80)
|
||||
|
||||
def test_unmapped_character(self):
|
||||
self.assertEqual(encode_ascii_character(ord('^')), 0x00)
|
||||
self.assertEqual(encode_ascii_character(ord('`')), 0x00)
|
||||
|
||||
def test_out_of_range(self):
|
||||
self.assertEqual(encode_ascii_character(ord('✓')), 0x00)
|
||||
|
||||
Reference in New Issue
Block a user