summaryrefslogtreecommitdiffstats
path: root/Sencha-lang/Tests/tests.h
blob: 49700d111a3fbaff64ebad1be4fc99db9a34c0d8 (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
35
36
37
38
39
40
41
42
43
44
/*
 * tests.h
 *
 *  Created on: Dec 18, 2012
 *      Author: att
 */

#ifndef TESTS_H_
#define TESTS_H_
#include <string>
#include <iostream>
#include "TestLexer.h"
#include "TestASTInspector.h"
#include "TestParser.h"
#include "../Lexer.h"
#include "../Parser.h"


using namespace std;


void run_test_suites()
{
	TestLexer test_lexer;
	test_lexer.run_tests();

	TestASTInspector test_inspector;
	test_inspector.run_tests();

	TestParser test_parser;
	test_parser.run_tests();

}

void run_tests()
{
	cout << "derp!" << endl;
	run_test_suites();

}



#endif /* TESTS_H_ */