mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 06:05:58 -06:00
.autotest
git-svn-id: svn://ultimatepp.org/upp/trunk@13513 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
597798b5dd
commit
85cbb3ea2c
2 changed files with 26 additions and 0 deletions
17
autotest/LangInfo/LangInfo.cpp
Normal file
17
autotest/LangInfo/LangInfo.cpp
Normal 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");
|
||||
}
|
||||
9
autotest/LangInfo/LangInfo.upp
Normal file
9
autotest/LangInfo/LangInfo.upp
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
uses
|
||||
Core;
|
||||
|
||||
file
|
||||
LangInfo.cpp;
|
||||
|
||||
mainconfig
|
||||
"" = "";
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue