mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
another test for Riccardo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39336 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
65d01f12b3
commit
8c824fcd0b
1 changed files with 6 additions and 0 deletions
|
@ -120,6 +120,12 @@ int main()
|
|||
PASS_EQUAL(str1, str2, "Encode / Decode 64 - implicit CR LF")
|
||||
[str2 release];
|
||||
|
||||
data = [[NSData alloc] initWithBase64EncodedString:
|
||||
@"Yml0bWFya2V0cyB1c2VyIGluZGVudGl0eQ==" options: 0];
|
||||
ref = [NSData dataWithBytes: "bitmarkets user indentity" length: 25];
|
||||
PASS_EQUAL(data, ref, "base64 decoding Yml0bWFya2V0cyB1c2VyIGluZGVudGl0eQ==")
|
||||
[data release];
|
||||
|
||||
[arp release]; arp = nil;
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue