mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
.autotest
git-svn-id: svn://ultimatepp.org/upp/trunk@9782 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
24fefade5e
commit
f34467b7a9
1 changed files with 6 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ CONSOLE_APP_MAIN
|
|||
{
|
||||
StdLogSetup(LOG_COUT|LOG_FILE);
|
||||
|
||||
#ifdef PLATFORM_WIN32 // Not enough memory in linux machine to run this test (TODO)
|
||||
{
|
||||
StringBuffer sb;
|
||||
|
||||
|
|
@ -19,6 +20,7 @@ CONSOLE_APP_MAIN
|
|||
ASSERT((byte)sb[i] == i % 37);
|
||||
}
|
||||
}
|
||||
DUMP(MemoryUsedKb());
|
||||
|
||||
{
|
||||
StringBuffer sb2;
|
||||
|
|
@ -34,6 +36,7 @@ CONSOLE_APP_MAIN
|
|||
ASSERT((byte)sb2[i] == i % 43);
|
||||
}
|
||||
}
|
||||
DUMP(MemoryUsedKb());
|
||||
|
||||
{
|
||||
WStringBuffer wb;
|
||||
|
|
@ -48,6 +51,7 @@ CONSOLE_APP_MAIN
|
|||
ASSERT(wb[i] == i % 37777);
|
||||
}
|
||||
}
|
||||
DUMP(MemoryUsedKb());
|
||||
|
||||
{
|
||||
WStringBuffer wb2;
|
||||
|
|
@ -63,6 +67,8 @@ CONSOLE_APP_MAIN
|
|||
ASSERT(wb2[i] == i % 37771);
|
||||
}
|
||||
}
|
||||
DUMP(MemoryUsedKb());
|
||||
#endif
|
||||
|
||||
LOG("=========== Everything OK!");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue