42 lines
673 B
C
42 lines
673 B
C
|
/*
|
||
|
* TestParser.h
|
||
|
*
|
||
|
* Created on: Dec 22, 2012
|
||
|
* Author: att
|
||
|
*/
|
||
|
|
||
|
#ifndef TESTPARSER_H_
|
||
|
#define TESTPARSER_H_
|
||
|
|
||
|
#include "TestSuite.h"
|
||
|
|
||
|
class TestParser: public TestSuite {
|
||
|
public:
|
||
|
TestParser();
|
||
|
virtual ~TestParser();
|
||
|
};
|
||
|
|
||
|
#endif /* TESTPARSER_H_ */
|
||
|
|
||
|
/*TODO
|
||
|
* write test of evaluating logical expression
|
||
|
* possible input:
|
||
|
* false and false
|
||
|
* false and true
|
||
|
* true and false
|
||
|
* true and true
|
||
|
* false or false
|
||
|
* false or true
|
||
|
* true or false
|
||
|
* true or true
|
||
|
* 7 + 2 > 55 or 4-5 == -1
|
||
|
* some variable == "g" and other != "a"
|
||
|
*
|
||
|
* some easy expression like:
|
||
|
* if("aaa" != "bbb" and 2 < 5) {
|
||
|
>> print(1);
|
||
|
>> } else {
|
||
|
>> print(0);
|
||
|
>> }
|
||
|
*/
|