File indexing completed on 2024-05-19 03:50:38

0001 #ifndef EXPRESSIONPARSERTEST_H
0002 #define EXPRESSIONPARSERTEST_H
0003 
0004 #include "../../CommonTest.h"
0005 
0006 class ExpressionParserTest : public CommonTest {
0007     Q_OBJECT
0008 
0009 private Q_SLOTS:
0010     void testFunctionArguments1();
0011     void testFunctionArguments2();
0012     void testUniques();
0013     void testgreaterThan();
0014     void testgreaterEqualThan();
0015     void testlessThan();
0016     void testlessEqualThan();
0017     void testequal();
0018     void testifCondition();
0019     void testandFunction();
0020     void testorFunction();
0021     void testxorFunction();
0022     void testnotFunction();
0023     void testbetweenIncluded();
0024     void testoutsideIncluded();
0025     void testbetween();
0026     void testoutside();
0027     void testequalEpsilon();
0028     void testRoundn();
0029     void testSpecialFunctions();
0030 
0031     void testevaluateCartesian();
0032     void testevaluateCartesianConstExpr();
0033     void testevaluateGreaterThan();
0034     void testevaluateLessThan();
0035     void testevaluateLessEqualThan();
0036     void testevaluateGreaterEqualThan();
0037 
0038     void testEvaluateAnd();
0039     void testEvaluateOr();
0040     void testEvaluateNot();
0041     void testEvaluateLogicalExpression();
0042 
0043     void testIsValid();
0044     void testIsValidStdev();
0045     void testLog2();
0046 };
0047 
0048 #endif // EXPRESSIONPARSERTEST_H