예제 #1
0
 def test_no_valid_glyph(self):
     block = ['E|----------|']
     self.assertIsNone(parse._find_next_glyph_index(block, 2))
예제 #2
0
 def test_first(self):
     self.assertEqual(parse._find_next_glyph_index(self.block, 2), 5)
예제 #3
0
 def test_last(self):
     self.assertEqual(parse._find_next_glyph_index(self.block, 24), 30)