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