.autotest

git-svn-id: svn://ultimatepp.org/upp/trunk@15183 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2020-10-01 08:47:38 +00:00
parent 052fedc4c6
commit c7ecea88d9

View file

@ -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");
}