blob: 37e9d8736da52bface4bf70968ea61fa98be7d27 (
plain)
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
|
/*
* TestParser.h
*
* Created on: Dec 22, 2012
* Author: att
*/
#ifndef TESTPARSER_H_
#define TESTPARSER_H_
#include "TestSuite.h"
#include "../Lexer.h"
#include "../Parser.h"
#include "../ASTInspector.h"
#include <utility>
#include <vector>
class TestParser: public TestSuite {
public:
TestParser();
virtual ~TestParser();
typedef std::pair<std::string, bool> InputOutputPair;
private:
std::string test_parsing_and_evaluating_logical_expressions();
std::string test_adding_new_function();
std::vector<InputOutputPair> prepare_logical_input();
virtual std::string all_tests();
};
#endif /* TESTPARSER_H_ */
|