.autotest

git-svn-id: svn://ultimatepp.org/upp/trunk@13513 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2019-07-29 12:03:59 +00:00
parent 597798b5dd
commit 85cbb3ea2c
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,17 @@
#include <Core/Core.h>
using namespace Upp;
CONSOLE_APP_MAIN
{
StdLogSetup(LOG_COUT|LOG_FILE);
const LanguageInfo& f = GetLanguageInfo();
DUMP(f);
ASSERT(f.decimal_point == ".");
ASSERT(f.thousand_separator == ",");
ASSERT(f.month[0] == "January");
ASSERT(f.smonth[0] == "Jan");
ASSERT(f.day[0] == "Monday");
ASSERT(f.sday[0] == "Mon");
LOG("============= OK");
}

View file

@ -0,0 +1,9 @@
uses
Core;
file
LangInfo.cpp;
mainconfig
"" = "";