| 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) |
nothing calls this directly
no test coverage detected