diff options
author | Roozbeh Pournader <roozbeh@google.com> | 2014-10-23 20:40:34 -0700 |
---|---|---|
committer | James Godfrey-Kittle <jamesgk@google.com> | 2015-04-16 12:16:22 -0700 |
commit | b8f40a25fba147784ae07ed605ed98cc34049345 (patch) | |
tree | 4dce363236e790d3630ded87c5220b5ac157ab15 /scripts/run_general_tests.py | |
parent | 31334e64527cca3a827c47b0e9be7fde4dfa7ea0 (diff) |
Move test for lack of unassigned characters from Android to general tests.
Diffstat (limited to 'scripts/run_general_tests.py')
-rwxr-xr-x | scripts/run_general_tests.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/run_general_tests.py b/scripts/run_general_tests.py index 0960deb..f160f15 100755 --- a/scripts/run_general_tests.py +++ b/scripts/run_general_tests.py @@ -58,6 +58,14 @@ class TestCharacterCoverage(unittest.TestCase): def setUp(self): _, self.fonts = load_fonts() + def test_lack_of_unassigned_chars(self): + """Tests that unassigned characters are not in the fonts.""" + for font in self.fonts: + charset = coverage.character_set(font) + self.assertNotIn(0x2072, charset) + self.assertNotIn(0x2073, charset) + self.assertNotIn(0x208F, charset) + def test_inclusion_of_sound_recording_copyright(self): """Tests that sound recording copyright symbol is in the fonts.""" for font in self.fonts: |