Exemplo n.º 1
0
def test_int64(proto_lib):
    from test_signed_integer_proto import Int
    a = Int()
    v = gen_rand_int64()
    a.Int64 = v
    assert Int.FromString(a.SerializeToString()).Int64 == v
Exemplo n.º 2
0
def test_int64(proto_lib):
    from test_signed_integer_proto import Int
    a = Int()
    v = gen_rand_int64()
    a.Int64 = v
    assert Int.FromString(a.SerializeToString()).Int64 == v