MCPcopy Create free account
hub / github.com/IBAMR/IBAMR / TestLocalization

Method TestLocalization

ibtk/contrib/muparser/src/muParserTest.cpp:1241–1257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1239 }
1240
1241 int ParserTester::TestLocalization()
1242 {
1243 int iStat = 0;
1244 mu::console() << _T("testing localization...");
1245
1246 iStat += EqnTestLocalized(_T("1,2"), 1.2, true);
1247
1248 if (iStat == 0)
1249 mu::console() << _T("passed") << endl;
1250 else
1251 mu::console() << _T("\n failed with ") << iStat << _T(" errors") << endl;
1252
1253 // Reset the locale to the "C" locale.
1254 Parser().ResetLocale();
1255
1256 return iStat;
1257 }
1258
1259
1260 void ParserTester::AddTest(testfun_type a_pFun)

Callers

nothing calls this directly

Calls 2

ResetLocaleMethod · 0.80
ParserClass · 0.50

Tested by

no test coverage detected