Skip to content
Snippets Groups Projects
Commit bf8ba3ce authored by Niels Möller's avatar Niels Möller
Browse files

More tests for hex and base64 input

and output.

Rev: src/nettle/testsuite/sexp-conv-test:1.5
parent 6e6f1f87
No related branches found
No related tags found
No related merge requests found
......@@ -100,13 +100,19 @@ test_advanced '(#aabb#)' '(|qrs=|)'
test_advanced '(|qrs=|)' '(|qrs=|)'
test_advanced_hex '(|qrs=|)' '(#aabb#)'
test_advanced_hex '(#aabb#)' '(#aabb#)'
test_advanced_hex '{MToR}' '#11#'
test_advanced_hex '|EQ==|' '#11#'
test_transport '0:' '{MDo=}'
test_transport '()' '{KCk=}'
test_transport '1:A' '{MTpB}'
test_transport 'foo' '{Mzpmb28=}'
test_transport '(foo bar baz)' '{KDM6Zm9vMzpiYXIzOmJheik=}'
test_canonical '""' '0:'
test_canonical '{MDo=}' '0:'
test_canonical '{KCk=}' '()'
test_canonical '{MTpB}' '1:A'
test_canonical 'foo' '3:foo'
test_canonical 'fooooooooooo' '12:fooooooooooo'
test_canonical 'fooooooooo' '10:fooooooooo'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment