mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
.upptst
git-svn-id: svn://ultimatepp.org/upp/trunk@13372 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
2f7a0ceb92
commit
6c21864102
3 changed files with 5 additions and 29 deletions
|
|
@ -9,7 +9,9 @@ void Test(int ini, int re)
|
|||
byte *h = new byte[ini];
|
||||
|
||||
RDUMP(GetMemoryBlockSize(h));
|
||||
RDUMP(TryRealloc(h, re));
|
||||
size_t sz = re;
|
||||
RDUMP(MemoryTryRealloc(h, sz));
|
||||
RDUMP(sz);
|
||||
RDUMP(GetMemoryBlockSize(h));
|
||||
|
||||
delete[] h;
|
||||
|
|
@ -17,6 +19,8 @@ void Test(int ini, int re)
|
|||
|
||||
CONSOLE_APP_MAIN
|
||||
{
|
||||
StdLogSetup(LOG_COUT|LOG_FILE);
|
||||
|
||||
Test(200, 220);
|
||||
Test(194, 204);
|
||||
Test(2000, 2070);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue