~ test
This commit is contained in:
parent
fd522aa727
commit
5f9f872e9b
1 changed files with 2 additions and 0 deletions
|
|
@ -115,12 +115,14 @@ let () =
|
||||||
let decode s = B32.decode s |> get_ok in
|
let decode s = B32.decode s |> get_ok in
|
||||||
let v' = B32.encode (decode v) in
|
let v' = B32.encode (decode v) in
|
||||||
let v'' = B32.encode (decode v') in
|
let v'' = B32.encode (decode v') in
|
||||||
|
(*
|
||||||
Fmt.pr "v : %s@." v;
|
Fmt.pr "v : %s@." v;
|
||||||
Fmt.pr "v' : %s@." v';
|
Fmt.pr "v' : %s@." v';
|
||||||
Fmt.pr "v'': %s@." v'';
|
Fmt.pr "v'': %s@." v'';
|
||||||
Fmt.pr "len v : %d@." (String.length v);
|
Fmt.pr "len v : %d@." (String.length v);
|
||||||
Fmt.pr "len v' : %d@." (String.length v');
|
Fmt.pr "len v' : %d@." (String.length v');
|
||||||
Fmt.pr "len v'': %d@." (String.length v'');
|
Fmt.pr "len v'': %d@." (String.length v'');
|
||||||
|
*)
|
||||||
assert (v = v');
|
assert (v = v');
|
||||||
assert (v' = v'');
|
assert (v' = v'');
|
||||||
()
|
()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue