This commit is contained in:
Connor 2018-09-10 13:33:41 -07:00 committed by GitHub
parent 7c5834de20
commit 248a9c0305

View file

@ -240,10 +240,10 @@ def test():
N = len(s) # required for decoding later.
print("original:", s)
e = encode(s, 10, 1)
e = encode(s, c0=10, c1=1)
print("encoded: ", e)
ds = decode(e, N, 10, 1)
ds = decode(e, N, c0=10, c1=1)
print("decoded: ", ds)
if ds != s: