-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPlotDTWTester.cpp
43 lines (34 loc) · 892 Bytes
/
PlotDTWTester.cpp
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
#include <iostream>
#include "DummySignal.h"
#include "DummyDTW.h"
#include "PlotDTW.h"
int main(int argc, char* argv[])
{
// Testing Dummy Classes
/*
DummySignal sigA;
std::vector<double> vecA = sigA.getData();
std::cout<<"Printing signalA data: "<<std::endl;
for(int i=0; i < vecA.size(); i++)
{
std::cout<<"vecA["<<i<<"] = "<<vecA[i]<<std::endl;
}
DummySignal sigB;
DummyDTW aDTW(sigA, sigB);
std::vector<double> vecC = aDTW.getComparison();
std::cout<<"Printing signalC data: "<<std::endl;
for(int i=0; i < vecC.size(); i++)
{
std::cout<<"vecC["<<i<<"] = "<<vecC[i]<<std::endl;
}
PlotDTW aPlot;
std::cout<<"Finished the stubTester successfully"<<std::endl;
*/
// Testing the PlotDTW class
QApplication a(argc, argv);
// Default Constructor
std::cout<<"Test 3: Testing Default Constructor of plotDTW"<<std::endl;
PlotDTW w;
w.show();
return a.exec();
}