This commit is contained in:
parent
7c5834de20
commit
248a9c0305
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue