mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-06-22 14:15:23 -06:00
.autotest
git-svn-id: svn://ultimatepp.org/upp/trunk@15183 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
052fedc4c6
commit
c7ecea88d9
1 changed files with 9 additions and 0 deletions
|
|
@ -124,5 +124,14 @@ CONSOLE_APP_MAIN
|
|||
bb = sb;
|
||||
ASSERT(bb == "a2");
|
||||
|
||||
String lc, lc2;
|
||||
for(int i = 0; i < 100; i++) {
|
||||
lc.Cat(i % 10 + '0');
|
||||
ASSERT(lc == ~lc);
|
||||
ASSERT(lc != ~lc2);
|
||||
ASSERT(lc != ~(lc + 'x'));
|
||||
lc2 = lc;
|
||||
}
|
||||
|
||||
LOG("============== OK");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue