def METHOD_NAME(self):
    pen = T2CharStringPen(100, {})
    pen.moveTo((95, 25))
    pen.curveTo((115, 44), (115, 76), (95, 95))
    pen.curveTo((76, 114), (44, 115), (25, 95))
    pen.endPath()  # no-op
    charstring = pen.getCharString(None, None)
    self.assertEqual(
        [
            100,
            95,
            25,
            "rmoveto",
            20,
            19,
            0,
            32,
            -20,
            19,
            -19,
            19,
            -32,
            1,
            -19,
            -20,
            "rrcurveto",
            "endchar",
        ],
        charstring.program,
    )