Mercurial > hg > nsaunier > traffic-intelligence
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 1158:7eb972942f22 | 1159:e1e7acef8eab |
|---|---|
| 1 #ifndef MINIMUMMETRICTEST_H_ | |
| 2 #define MINIMUMMETRICTEST_H_ | |
| 3 #include <cppunit/extensions/HelperMacros.h> | |
| 4 #include "../src/MinimumMetric.h" | |
| 5 using namespace std; | |
| 6 | |
| 7 class MinimumMetricTest: public CPPUNIT_NS::TestCase | |
| 8 { | |
| 9 CPPUNIT_TEST_SUITE( MinimumMetricTest); | |
| 10 CPPUNIT_TEST( testMetric1); | |
| 11 CPPUNIT_TEST( testMetric2); | |
| 12 CPPUNIT_TEST( testMetric3); | |
| 13 CPPUNIT_TEST( testMetric4); | |
| 14 CPPUNIT_TEST( testMetric5); | |
| 15 CPPUNIT_TEST( testMetric6); | |
| 16 CPPUNIT_TEST_SUITE_END(); | |
| 17 | |
| 18 public: | |
| 19 void setUp(void); | |
| 20 void tearDown(void); | |
| 21 protected: | |
| 22 void testMetric1(void); | |
| 23 void testMetric2(void); | |
| 24 void testMetric3(void); | |
| 25 void testMetric4(void); | |
| 26 void testMetric5(void); | |
| 27 void testMetric6(void); | |
| 28 private: | |
| 29 Trajectory<CvPoint> *trajectoryA; | |
| 30 Trajectory<CvPoint> *trajectoryB; | |
| 31 Metric<CvPoint, int> *metric; | |
| 32 }; | |
| 33 | |
| 34 #endif /* MINIMUMMETRICTEST_H_ */ |
