aboutsummaryrefslogtreecommitdiff
path: root/src/unit/base64.unit
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2012-11-05 22:41:51 +0000
committerMike Buland <eichlan@xagasoft.com>2012-11-05 22:41:51 +0000
commitec05778d5718a7912e506764d443a78d6a6179e3 (patch)
tree78a9a01532180030c095acefc45763f07c14edb8 /src/unit/base64.unit
parentb20414ac1fe80a71a90601f4cd1767fa7014a9ba (diff)
downloadlibbu++-ec05778d5718a7912e506764d443a78d6a6179e3.tar.gz
libbu++-ec05778d5718a7912e506764d443a78d6a6179e3.tar.bz2
libbu++-ec05778d5718a7912e506764d443a78d6a6179e3.tar.xz
libbu++-ec05778d5718a7912e506764d443a78d6a6179e3.zip
Converted tabs to spaces with tabconv.
Diffstat (limited to 'src/unit/base64.unit')
-rw-r--r--src/unit/base64.unit24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/unit/base64.unit b/src/unit/base64.unit
index 5266b48..bd5bc97 100644
--- a/src/unit/base64.unit
+++ b/src/unit/base64.unit
@@ -11,18 +11,18 @@
11 11
12suite MemBuf 12suite MemBuf
13{ 13{
14 test decode01 14 test decode01
15 { 15 {
16 unitTest( Bu::decodeStr<Bu::Base64>("RnVu") == "Fun" ); 16 unitTest( Bu::decodeStr<Bu::Base64>("RnVu") == "Fun" );
17 unitTest( Bu::decodeStr<Bu::Base64>("V2hhdA==") == "What" ); 17 unitTest( Bu::decodeStr<Bu::Base64>("V2hhdA==") == "What" );
18 unitTest( Bu::decodeStr<Bu::Base64>("SGVsbG8=") == "Hello" ); 18 unitTest( Bu::decodeStr<Bu::Base64>("SGVsbG8=") == "Hello" );
19 } 19 }
20 20
21 test encode01 21 test encode01
22 { 22 {
23 unitTest( Bu::decodeStr<Bu::Base64>("R n V u") == "Fun" ); 23 unitTest( Bu::decodeStr<Bu::Base64>("R n V u") == "Fun" );
24 unitTest( Bu::decodeStr<Bu::Base64>("V2\n\n\thh dA==") == "What" ); 24 unitTest( Bu::decodeStr<Bu::Base64>("V2\n\n\thh dA==") == "What" );
25 unitTest( Bu::decodeStr<Bu::Base64>("\n\n\t\t SGV\r\ns\tbG8\n=") == "Hello" ); 25 unitTest( Bu::decodeStr<Bu::Base64>("\n\n\t\t SGV\r\ns\tbG8\n=") == "Hello" );
26 } 26 }
27} 27}
28 28