def test_ulonglong(self):

    class X(Structure):
        _fields_ = [('a', c_ulonglong, 1), ('b', c_ulonglong, 62), ('c', c_ulonglong, 1)]
    assert (sizeof(X) == sizeof(c_longlong))
    x = X()
    assert ((x.a, x.b, x.c) == (0, 0, 0))
    (x.a, x.b, x.c) = (7, 2305843009213693953, 7)
    assert ((x.a, x.b, x.c) == (1, 2305843009213693953, 1))
def test_ulonglong(self):

    class X(Structure):
        _fields_ = [('a', c_ulonglong, 1), ('b', c_ulonglong, 62), ('c', c_ulonglong, 1)]
    assert (sizeof(X) == sizeof(c_longlong))
    x = X()
    assert ((x.a, x.b, x.c) == (0, 0, 0))
    (x.a, x.b, x.c) = (7, 2305843009213693953, 7)
    assert ((x.a, x.b, x.c) == (1, 2305843009213693953, 1))