NCBI C++ ToolKit
Namespaces | Macros
muParserTest.cpp File Reference

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

#include <ncbi_pch.hpp>
#include <gui/utils/muparser/muParserTest.h>
#include <cstdio>
#include <cmath>
#include <iostream>
+ Include dependency graph for muParserTest.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Namespaces

 mu
 Namespace for mathematical applications.
 
 mu::Test
 Namespace for test cases.
 

Macros

#define PARSER_CONST_PI   3.141592653589793238462643
 
#define PARSER_CONST_E   2.718281828459045235360287
 
#define wxT(x)   MUP_T(x)
 
#define PARSER_THROWCHECK(DOMAIN, FAIL, EXPR, ARG)
 

Detailed Description

This file contains the implementation of parser test cases.

Definition in file muParserTest.cpp.

Macro Definition Documentation

◆ PARSER_CONST_E

#define PARSER_CONST_E   2.718281828459045235360287

Definition at line 33 of file muParserTest.cpp.

◆ PARSER_CONST_PI

#define PARSER_CONST_PI   3.141592653589793238462643

Definition at line 32 of file muParserTest.cpp.

◆ PARSER_THROWCHECK

#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;
#define FAIL
Definition: sybdb.h:586

◆ wxT

#define wxT (   x)    MUP_T(x)

Definition at line 35 of file muParserTest.cpp.

Modified on Fri Sep 20 14:57:35 2024 by modify_doxy.py rev. 669887