def test_uint64(proto_lib): from test_signed_integer_proto import Int a = Int() v = gen_rand_uint64() a.UInt64 = v assert Int.FromString(a.SerializeToString()).UInt64 == v