def METHOD_NAME(self):
    # without prototype
    ptin = POINT(1, 2)
    ptout = POINT()
    # EXPORT int _testfunc_byval(point in, point *pout)
    result = dll._testfunc_byval(ptin, byref(ptout))
    got = result, ptout.x, ptout.y
    expected = 3, 1, 2
    self.assertEqual(got, expected)
    # with prototype
    ptin = POINT(101, 102)
    ptout = POINT()
    dll._testfunc_byval.argtypes = (POINT, POINTER(POINT))
    dll._testfunc_byval.restype = c_int
    result = dll._testfunc_byval(self.wrap(ptin), byref(ptout))
    got = result, ptout.x, ptout.y
    expected = 203, 101, 102
    self.assertEqual(got, expected)