Mercurial Hosting > traffic-intelligence
view trajectorymanagement/test/SquaredEuclideanMetricTest.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 source
#ifndef SQUAREDEUCLIDIANMETRICTEST_H_ #define SQUAREDEUCLIDIANMETRICTEST_H_ #include <cppunit/extensions/HelperMacros.h> #include "../src/SquaredEuclideanMetric.h" using namespace std; class SquaredEuclideanMetricTest: public CPPUNIT_NS::TestCase { CPPUNIT_TEST_SUITE( SquaredEuclideanMetricTest); 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, double> *metric; }; #endif /* SQUAREDEUCLIDIANMETRICTEST_H_ */