From bf8ba3ce5ecc881660d1c2782215cc616c03d0aa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Thu, 30 Jan 2003 23:04:50 +0100
Subject: [PATCH] More tests for hex and base64 input and output.

Rev: src/nettle/testsuite/sexp-conv-test:1.5
---
 testsuite/sexp-conv-test | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/testsuite/sexp-conv-test b/testsuite/sexp-conv-test
index 94202845..06349d42 100755
--- a/testsuite/sexp-conv-test
+++ b/testsuite/sexp-conv-test
@@ -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'
-- 
GitLab