Behdad Esfahbod
a6178fd4fb
[mtiLib] Fix and enable chained-glyph test
2016-12-27 13:40:27 -05:00
Behdad Esfahbod
edd46bb14a
[mtiLib] Remove use of MockFont in tests
...
Tests pass on both Python 2 and 3 now. Yay!
MockFont is handy for mtiLib.__init__:main(). Not sure how useful it is
otherwise, and what to replace it with.
2016-12-27 13:28:06 -05:00
Behdad Esfahbod
f6294ba7bd
[mtiLib] More deterministic output with MockFont
2016-12-27 13:09:39 -05:00
Behdad Esfahbod
8358a7248f
[mtiLib] Make output more deterministic with MockFont
...
I'll first make Python 2 and 3 both generate same output for tests with
MockFont, then will probably hardcode glyphorder and remove MockFont
completely and remove hacks I added to make tests work with MockFont.
2016-12-27 13:03:37 -05:00
Behdad Esfahbod
ab01846a8d
[mtiLib] Add some more tests
2016-12-26 17:35:21 -05:00
Behdad Esfahbod
2d3610bb6b
Ignore class=0 when reading & writing ClassDef objects
...
class=0 items might be added as an optimization. They have no semantic value.
Ignore them.
Fixes the last of mtiLib tests.
2016-12-26 17:26:14 -05:00
Behdad Esfahbod
fc25b26ca2
[mtiLib] Fix expected output of two remaining tests
2016-12-26 16:58:19 -05:00
Behdad Esfahbod
aa3b94db0a
[mtiLib] Fix mti/gpospairglyph test
2016-12-26 16:36:38 -05:00
Behdad Esfahbod
f4c9134957
[mtiLib] Fix gposmarktobase test
2016-12-26 16:29:20 -05:00
Behdad Esfahbod
4f6dea2d99
[mtiLib] Fix gpossingle test
2016-12-26 16:27:45 -05:00
Behdad Esfahbod
180362d30c
[mtiLib] Add test data from spec, with test runner
2016-12-26 16:22:54 -05:00