[cubic-glyf] Fix tests

Ouch.
This commit is contained in:
Behdad Esfahbod 2023-06-27 08:47:56 -06:00
parent 9ec121322b
commit 9983ffe27a
2 changed files with 2 additions and 0 deletions

View File

@ -782,6 +782,7 @@ class GlyphCubicTest:
glyph.draw(pen, None)
assert pen.value == [
("moveTo", ((0, 0),)),
("curveTo", ((0, 0), (1, 0), (1, 0))),
("curveTo", ((1, 0), (1, 1), (1, 1))),
("curveTo", ((1, 1), (0, 1), (0, 1))),

View File

@ -574,6 +574,7 @@ class TTGlyphSetTest(object):
pen = RecordingPen()
glyphset["glyph00004"].draw(pen)
assert pen.value == [
("moveTo", ((75.5, 181),)),
("curveTo", ((103, 181), (125, 158), (125, 131))),
("curveTo", ((125, 104), (103, 82), (75.5, 82))),
("curveTo", ((48, 82), (26, 104), (26, 131))),