Mercurial > hg > nsaunier > traffic-intelligence
view trajectorymanagement/test/ChebyshevMetricTest.h @ 1306:4bc0651d91f9 default tip
bug corrected generating last velocity twice and saving it (not saved, duplicated at loading time
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Mon, 30 Mar 2026 15:31:34 -0400 |
| parents | e1e7acef8eab |
| children |
line wrap: on
line source
#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_ */
