.autotest

git-svn-id: svn://ultimatepp.org/upp/trunk@14836 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2020-08-19 08:46:49 +00:00
parent 6905a077c6
commit f5900fc3ba
4 changed files with 39 additions and 14 deletions

View file

@ -0,0 +1,18 @@
#include <Core/Core.h>
using namespace Upp;
CONSOLE_APP_MAIN
{
StdLogSetup(LOG_COUT|LOG_FILE);
{ Vector<int> x(20); DUMP(x.GetCount()); }
{ Vector<int> x(20, 123); DUMP(x); }
{ Vector<String> x(20, "123"); DUMP(x); }
{ Array<int> x(20); DUMP(x.GetCount()); }
{ Array<int> x(20, 123); DUMP(x); }
{ Array<String> x(20, "123"); DUMP(x); }
CheckLogEtalon();
}