File: ExpressionParserTest.h

package info (click to toggle)
labplot 2.12.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 78,528 kB
  • sloc: cpp: 241,047; ansic: 6,324; python: 915; xml: 400; yacc: 237; sh: 221; awk: 35; makefile: 11
file content (54 lines) | stat: -rw-r--r-- 1,225 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#ifndef EXPRESSIONPARSERTEST_H
#define EXPRESSIONPARSERTEST_H

#include "../../CommonTest.h"

class ExpressionParserTest : public CommonTest {
	Q_OBJECT

private Q_SLOTS:
	void testFunctionArguments1();
	void testFunctionArguments2();
	void testUniques();
	void testgreaterThan();
	void testgreaterEqualThan();
	void testlessThan();
	void testlessEqualThan();
	void testequal();
	void testifCondition();
	void testandFunction();
	void testorFunction();
	void testxorFunction();
	void testnotFunction();
	void testbetweenIncluded();
	void testoutsideIncluded();
	void testbetween();
	void testoutside();
	void testequalEpsilon();
	void testRoundn();
	void testSpecialFunctions();

	void testevaluateCartesian();
	void testevaluateCartesianConstExpr();
	void testevaluateGreaterThan();
	void testevaluateLessThan();
	void testevaluateLessEqualThan();
	void testevaluateGreaterEqualThan();
	void testBenchmark();

	void testEvaluateAnd();
	void testEvaluateOr();
	void testEvaluateNot();
	void testEvaluateLogicalExpression();

	void testIsValid();
	void testIsInValid();
	void testIsInValid2();
	void testIsValidStdev();
	void testLog2();

	void testPolarCircle();
	void testPolarSpiral();
};

#endif // EXPRESSIONPARSERTEST_H