mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 06:05:58 -06:00
.autotest
git-svn-id: svn://ultimatepp.org/upp/trunk@11767 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
9d2e3258a6
commit
8f7b9fa58e
1 changed files with 8 additions and 0 deletions
|
|
@ -15,5 +15,13 @@ CONSOLE_APP_MAIN
|
|||
String s = BZ2Compress(data);
|
||||
DUMP(s.GetCount());
|
||||
ASSERT(BZ2Decompress(s) == data);
|
||||
|
||||
StringStream ss(s);
|
||||
BZ2DecompressStream in(ss);
|
||||
String s2;
|
||||
while(!in.IsEof())
|
||||
s2.Cat(in.Get());
|
||||
ASSERT(s2 == data);
|
||||
|
||||
LOG("============= OK");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue