Commit Graph

3 Commits

Author SHA1 Message Date
Billy Keyes a0b33e37b4 Rename types in preparation for binary parsing
Fragment is now TextFragment to distinguish from a future
BinaryFragment. Also rename FragmentLine to Line, since the
text-orientation is implied by the name.
2019-04-07 20:33:21 -07:00
Billy Keyes 7b9443bc1c Add tests for ParseTextFragments
Covers that multiple fragments actually works and the unique error
contidions, but otherwise relies on the lower level tests for
correctness. Also update some comments and the README based on
observations from writing/debugging these tests.
2019-04-01 22:55:09 -07:00
Billy Keyes d32b889535 Move text parsing tests to a new test files
These are about to get even longer, so it makes sense to separate them.
Also refactor the remaining parser tests to remove some duplication.
2019-04-01 21:47:08 -07:00