diff options
author | Mike Buland <eichlan@xagasoft.com> | 2012-11-05 22:41:51 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2012-11-05 22:41:51 +0000 |
commit | ec05778d5718a7912e506764d443a78d6a6179e3 (patch) | |
tree | 78a9a01532180030c095acefc45763f07c14edb8 /src/unit/base64.unit | |
parent | b20414ac1fe80a71a90601f4cd1767fa7014a9ba (diff) | |
download | libbu++-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.unit | 24 |
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 | ||
12 | suite MemBuf | 12 | suite 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 | ||