This commit is contained in:
parent
1427d6ff9b
commit
76945af469
1 changed files with 3 additions and 3 deletions
|
|
@ -12,6 +12,9 @@ let () =
|
|||
|
||||
let () =
|
||||
let input = "91JPRV3F5GG4EKJNDSJQ8" in
|
||||
let expected =
|
||||
"D0R24RZ1TPASVQ2NY56CT8AJDYZE9ZGDB0GVZ05E9D4YGZQW2RC5YFPQ0Q86EPW836DY7VYQTNFFJT3ZR2K508F4JVS5JNJKYN2MMFR"
|
||||
in
|
||||
let output =
|
||||
input
|
||||
|> B32.decode
|
||||
|
|
@ -20,9 +23,6 @@ let () =
|
|||
|> Hash.H64.to_octets
|
||||
|> B32.encode
|
||||
in
|
||||
let expected =
|
||||
"D0R24RZ1TPASVQ2NY56CT8AJDYZE9ZGDB0GVZ05E9D4YGZQW2RC5YFPQ0Q86EPW836DY7VYQTNFFJT3ZR2K508F4JVS5JNJKYN2MMFR"
|
||||
in
|
||||
assert (output = expected);
|
||||
|
||||
()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue