summaryrefslogtreecommitdiff
path: root/scripts/run_android_tests.py
diff options
context:
space:
mode:
authorRoozbeh Pournader <roozbeh@google.com>2014-10-23 20:18:18 -0700
committerJames Godfrey-Kittle <jamesgk@google.com>2015-04-16 12:16:22 -0700
commit31334e64527cca3a827c47b0e9be7fde4dfa7ea0 (patch)
tree703eb2e0e30a8b0ba409e27fba4ef5ec77542f99 /scripts/run_android_tests.py
parenta445d33ef3a80707c741d1d6e51152ef6df67de1 (diff)
Move TestDigitWidths from android tests to general tests.
Diffstat (limited to 'scripts/run_android_tests.py')
-rwxr-xr-xscripts/run_android_tests.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/scripts/run_android_tests.py b/scripts/run_android_tests.py
index afc066e..097f9bd 100755
--- a/scripts/run_android_tests.py
+++ b/scripts/run_android_tests.py
@@ -34,23 +34,6 @@ class TestVerticalMetrics(unittest.TestCase):
self.assertEqual(head_table.yMax, 2163)
-class TestDigitWidths(unittest.TestCase):
- """Tests the width of digits."""
-
- def setUp(self):
- _, self.fonts = load_fonts()
- self.digits = [
- 'zero', 'one', 'two', 'three', 'four',
- 'five', 'six', 'seven', 'eight', 'nine']
-
- def test_digit_widths(self):
- """Tests all decimal digits to make sure they have the same width."""
- for font in self.fonts:
- hmtx_table = font['hmtx']
- widths = [hmtx_table[digit][0] for digit in self.digits]
- self.assertEqual(len(set(widths)), 1)
-
-
class TestCharacterCoverage(unittest.TestCase):
"""Tests character coverage."""