Mercurial Hosting > traffic-intelligence
diff trajectorymanagement/test/MinimumMetricTest.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/MinimumMetricTest.h Mon Feb 22 22:09:35 2021 -0500 @@ -0,0 +1,34 @@ +#ifndef MINIMUMMETRICTEST_H_ +#define MINIMUMMETRICTEST_H_ +#include <cppunit/extensions/HelperMacros.h> +#include "../src/MinimumMetric.h" +using namespace std; + +class MinimumMetricTest: public CPPUNIT_NS::TestCase +{ + CPPUNIT_TEST_SUITE( MinimumMetricTest); + 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 /* MINIMUMMETRICTEST_H_ */