'Test that mpzToLongObj and longObjToMPZ (internal functions) roundtrip negative numbers correctly.'

def test_negative_number_roundtrip_mpzToLongObj_longObjToMPZ(self):

    n = (-100000000000000000000000000000000000L)
    e = 2L
    k = number._fastmath.rsa_construct(n, e)
    self.assertEqual(n, k.n)
    self.assertEqual(e, k.e)
