def METHOD_NAME(self):
    pen = _TestPen()
    pen.moveTo((0.0, 0.0))
    pen.curveTo((1.0, 1.1), (2.0, 2.1), (3.0, 3.1), (4.0, 4.1))
    self.assertEqual(
        "0.0 0.0 moveto "
        "1.0 1.1 1.5 1.6 2.0 2.1 curveto "
        "2.5 2.6 3.0 3.1 4.0 4.1 curveto",
        repr(pen),
    )
    self.assertEqual((4.0, 4.1), pen.getCurrentPoint())