.autotest

git-svn-id: svn://ultimatepp.org/upp/trunk@7345 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2014-05-02 16:25:56 +00:00
parent 7961cac034
commit 17c93ae2b3

View file

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