muParser: muParserTest.cpp File Reference

# muParserTest.cpp File Reference

This file contains the implementation of parser test cases. More...

`#include "muParserTest.h"`
`#include <cstdio>`
`#include <cmath>`
`#include <iostream>`

## Namespaces
namespace | mu
namespace | mu::Test
## Defines
#define | PARSER_CONST_PI 3.141592653589793238462643
#define | PARSER_CONST_E 2.718281828459045235360287
#define | PARSER_THROWCHECK(DOMAIN, FAIL, EXPR, ARG)

## Detailed Description

This file contains the implementation of parser test cases.

## Define Documentation

#define PARSER_THROWCHECK | ( | DOMAIN,
|  | FAIL,
|  | EXPR,
|  | ARG |  | ) |

Value:

    iErr = 0;                                      \
          ParserTester::c_iCount++;                      \
          try                                            \
          {                                              \
            p.Define##DOMAIN(EXPR, ARG);                 \
          }                                              \
          catch(Parser::exception_type&)                 \
          {                                              \
            iErr = (FAIL==false) ? 0 : 1;                \
          }                                              \
          iStat += iErr;