A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/classmu_1_1Test_1_1ParserTester.html below:

NCBI C++ ToolKit: mu::Test::ParserTester Class Reference

Search Toolkit Book for mu::Test::ParserTester

Test cases for unit testing. More...

#include <gui/utils/muparser/muParserTest.h>

static value_type  f1of1 (value_type v)   static value_type  f1of2 (value_type v, value_type)   static value_type  f2of2 (value_type, value_type v)   static value_type  f1of3 (value_type v, value_type, value_type)   static value_type  f2of3 (value_type, value_type v, value_type)   static value_type  f3of3 (value_type, value_type, value_type v)   static value_type  f1of4 (value_type v, value_type, value_type, value_type)   static value_type  f2of4 (value_type, value_type v, value_type, value_type)   static value_type  f3of4 (value_type, value_type, value_type v, value_type)   static value_type  f4of4 (value_type, value_type, value_type, value_type v)   static value_type  f1of5 (value_type v, value_type, value_type, value_type, value_type)   static value_type  f2of5 (value_type, value_type v, value_type, value_type, value_type)   static value_type  f3of5 (value_type, value_type, value_type v, value_type, value_type)   static value_type  f4of5 (value_type, value_type, value_type, value_type v, value_type)   static value_type  f5of5 (value_type, value_type, value_type, value_type, value_type v)   static value_type  Min (value_type a_fVal1, value_type a_fVal2)   static value_type  Max (value_type a_fVal1, value_type a_fVal2)   static value_type  plus2 (value_type v1)   static value_type  times3 (value_type v1)   static value_type  sqr (value_type v1)   static value_type  sign (value_type v)   static value_type  FirstArg (const value_type *a_afArg, int a_iArgc)   static value_type  LastArg (const value_type *a_afArg, int a_iArgc)   static value_type  Sum (const value_type *a_afArg, int a_iArgc)   static value_type  Rnd (value_type v)   static value_type  RndWithString (const char_type *)   static value_type  Ping ()   static value_type  ValueOf (const char_type *)   static value_type  StrFun1 (const char_type *v1)   static value_type  StrFun2 (const char_type *v1, value_type v2)   static value_type  StrFun3 (const char_type *v1, value_type v2, value_type v3)   static value_type  StrToFloat (const char_type *a_szMsg)   static value_type  Milli (value_type v)  

Test cases for unit testing.

(C) 2004-2006 Ingo Berg

Definition at line 49 of file muParserTest.h.

◆ testfun_type typedef int(ParserTester::* mu::Test::ParserTester::testfun_type) ()

Definition at line 179 of file muParserTest.h.

◆ ParserTester() mu::Test::ParserTester::ParserTester ( )

Definition at line 51 of file muParserTest.cpp.

References AddTest(), c_iCount, TestBinOprt(), TestException(), TestExpression(), TestInfixOprt(), TestInterface(), TestMultiArg(), TestNames(), TestPostFix(), TestStrArg(), TestSyntax(), TestVarConst(), and TestVolatile().

◆ Abort() void mu::Test::ParserTester::Abort ( void  ) const private ◆ AddTest() void mu::Test::ParserTester::AddTest ( testfun_type  a_pFun ) private ◆ EqnTest()

Evaluate a tet expression.

Returns
1 in case of a failure, 0 otherwise.

Definition at line 967 of file muParserTest.cpp.

References c_iCount, mu::console(), mu::ParserBase::DefineConst(), mu::ParserBase::DefineFun(), mu::ParserBase::DefineInfixOprt(), mu::ParserBase::DefinePostfixOprt(), mu::ParserBase::DefineVar(), mu::ParserBase::EnableOptimizer(), mu::ParserBase::Eval(), f1of1(), f1of2(), f1of3(), f1of4(), f1of5(), f2of2(), f2of3(), f2of4(), f2of5(), f3of3(), f3of4(), f3of5(), f4of4(), f4of5(), f5of5(), fabs, FirstArg(), mu::ParserError::GetMsg(), i, LastArg(), Max(), Milli(), Min(), PARSER_CONST_E, PARSER_CONST_PI, Ping(), plus2(), mu::prPOW, mu::ParserBase::SetExpr(), sign(), sqr(), StrFun1(), StrFun2(), StrFun3(), StrToFloat(), Sum(), times3(), ValueOf(), and wxT.

Referenced by TestBinOprt(), TestExpression(), TestInfixOprt(), TestMultiArg(), TestPostFix(), TestStrArg(), TestSyntax(), and TestVarConst().

◆ EqnTestInt() ◆ f1of1() ◆ f1of2() ◆ f1of3() ◆ f1of4() ◆ f1of5() ◆ f2of2() ◆ f2of3() ◆ f2of4() ◆ f2of5() ◆ f3of3() ◆ f3of4() ◆ f3of5() ◆ f4of4() ◆ f4of5() ◆ f5of5() ◆ FirstArg() ◆ LastArg() ◆ Max() ◆ Milli() ◆ Min() ◆ Ping() ◆ plus2() ◆ Rnd() ◆ RndWithString() ◆ Run() void mu::Test::ParserTester::Run ( void  ) ◆ sign() ◆ sqr() ◆ StrFun1() ◆ StrFun2() ◆ StrFun3() ◆ StrToFloat() ◆ Sum() ◆ TestBinOprt() int mu::Test::ParserTester::TestBinOprt ( ) private ◆ TestException() int mu::Test::ParserTester::TestException ( ) private

Definition at line 796 of file muParserTest.cpp.

References mu::console(), mu::ecMISSING_PARENS, mu::ecOPRT_TYPE_CONFLICT, mu::ecSTR_RESULT, mu::ecSTRING_EXPECTED, mu::ecTOO_FEW_PARAMS, mu::ecTOO_MANY_PARAMS, mu::ecUNASSIGNABLE_TOKEN, mu::ecUNEXPECTED_ARG_SEP, mu::ecUNEXPECTED_EOF, mu::ecUNEXPECTED_FUN, mu::ecUNEXPECTED_OPERATOR, mu::ecUNEXPECTED_PARENS, mu::ecUNEXPECTED_VAL, mu::ecUNTERMINATED_STRING, mu::ecVAL_EXPECTED, ThrowTest(), and wxT.

Referenced by ParserTester().

◆ TestExpression() int mu::Test::ParserTester::TestExpression ( ) private ◆ TestInfixOprt() int mu::Test::ParserTester::TestInfixOprt ( ) private ◆ TestInterface() int mu::Test::ParserTester::TestInterface ( ) private ◆ TestMultiArg() int mu::Test::ParserTester::TestMultiArg ( ) private ◆ TestNames() int mu::Test::ParserTester::TestNames ( ) private ◆ TestPostFix() int mu::Test::ParserTester::TestPostFix ( ) private ◆ TestStrArg() int mu::Test::ParserTester::TestStrArg ( ) private ◆ TestSyntax() int mu::Test::ParserTester::TestSyntax ( ) private ◆ TestVarConst() int mu::Test::ParserTester::TestVarConst ( ) private ◆ TestVolatile() int mu::Test::ParserTester::TestVolatile ( ) private ◆ ThrowTest()

Definition at line 915 of file muParserTest.cpp.

References c_iCount, mu::console(), mu::ParserBase::DefineFun(), mu::ParserBase::DefineVar(), mu::ParserBase::Eval(), mu::ParserError::GetCode(), Ping(), mu::ParserBase::SetExpr(), StrFun1(), StrFun2(), StrFun3(), ValueOf(), and wxT.

Referenced by TestException().

◆ times3() ◆ ValueOf() ◆ c_iCount int mu::Test::ParserTester::c_iCount = 0 staticprivate ◆ m_vTestFun std::vector<testfun_type> mu::Test::ParserTester::m_vTestFun private

The documentation for this class was generated from the following files:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4