mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-18 06:06:01 -06:00
.autotest
git-svn-id: svn://ultimatepp.org/upp/trunk@7345 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
7961cac034
commit
17c93ae2b3
1 changed files with 4 additions and 0 deletions
|
|
@ -168,11 +168,15 @@ void ATest()
|
|||
ASSERT(x == ~Str("<b>neednene<x>nenee<x>theend."));
|
||||
x.Replace("end.", "<e>");
|
||||
ASSERT(x == ~Str("<b>neednene<x>nenee<x>the<e>"));
|
||||
|
||||
x.Replace("", "x");
|
||||
}
|
||||
|
||||
CONSOLE_APP_MAIN
|
||||
{
|
||||
StdLogSetup(LOG_COUT|LOG_FILE);
|
||||
|
||||
MemoryLimitKb(1024*1024);
|
||||
|
||||
ATest<String, StringBuffer, char, byte>();
|
||||
ASSERT((String().Cat() << 123) == "123");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue