diff trajectorymanagement/test/ChebyshevMetricTest.h @ 1159:e1e7acef8eab

moved trajectory management library into Traffic Intelligence
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Mon, 22 Feb 2021 22:09:35 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/trajectorymanagement/test/ChebyshevMetricTest.h	Mon Feb 22 22:09:35 2021 -0500
@@ -0,0 +1,34 @@
+#ifndef CHEBYSHEVMETRICTEST_H_
+#define CHEBYSHEVMETRICTEST_H_
+#include <cppunit/extensions/HelperMacros.h>
+#include "../src/ChebyshevMetric.h"
+using namespace std;
+
+class ChebyshevMetricTest: public CPPUNIT_NS::TestCase
+{
+CPPUNIT_TEST_SUITE( ChebyshevMetricTest);
+		CPPUNIT_TEST( testMetric1);
+		CPPUNIT_TEST( testMetric2);
+		CPPUNIT_TEST( testMetric3);
+		CPPUNIT_TEST( testMetric4);
+		CPPUNIT_TEST( testMetric5);
+		CPPUNIT_TEST( testMetric6);
+	CPPUNIT_TEST_SUITE_END();
+
+public:
+	void setUp(void);
+	void tearDown(void);
+protected:
+	void testMetric1(void);
+	void testMetric2(void);
+	void testMetric3(void);
+	void testMetric4(void);
+	void testMetric5(void);
+	void testMetric6(void);
+private:
+	Trajectory<CvPoint> *trajectoryA;
+	Trajectory<CvPoint> *trajectoryB;
+	Metric<CvPoint, int> *metric;
+};
+
+#endif /* CHEBYSHEVMETRICTEST_H_ */