def save_load(path):
    testcase = sealapi.Plaintext('7FFx^3 + 2x^1 + 3')
    testcase.save(path)
    ctx = helper_context_bfv()
    save_test = sealapi.Plaintext()
    save_test.load(ctx, path)
    assert (save_test.coeff_count() == 4)
def save_load(path):
    testcase = sealapi.Plaintext('7FFx^3 + 2x^1 + 3')
    testcase.save(path)
    ctx = helper_context_bfv()
    save_test = sealapi.Plaintext()
    save_test.load(ctx, path)
    assert (save_test.coeff_count() == 4)