blob: 30e5f6d89bc13b57f226a40b788d1f49e4d2e87d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#include "testtest.h"
#include "testparser.h"
#include "testtikzoutput.h"
#include <QTest>
#include <QDebug>
#include <iostream>
int main(int argc, char *argv[])
{
TestTest test;
TestParser parser;
TestTikzOutput tikzOutput;
int r = QTest::qExec(&test, argc, argv) |
QTest::qExec(&parser, argc, argv) |
QTest::qExec(&tikzOutput, argc, argv);
if (r == 0) std::cout << "***************** All tests passed! *****************\n";
else std::cout << "***************** Some tests failed. *****************\n";
return r;
}
|