2 #ifndef TESTFIXTURE_COORDINATES_H_ 3 #define TESTFIXTURE_COORDINATES_H_ 5 #include "cppunit/TestCase.h" 6 #include "cppunit/TestFixture.h" 7 #include "cppunit/TestCaller.h" 8 #include "cppunit/TestResult.h" 9 #include "cppunit/TestSuite.h" 10 #include "cppunit/CompilerOutputter.h" 11 #include "cppunit/XmlOutputter.h" 12 #include "cppunit/ui/text/TestRunner.h" 14 #include "../Coordinates.h" 25 int expected_manhattan;
27 float expected_euclid;
51 #endif // TESTFIXTURE_COORDINATES_H_ void tearDown()
Opérations après les tests.
Definition: test_coordinates.cpp:16
void test_calcManhattan()
Definition: test_coordinates.cpp:20
void setUp()
Opérations avant les tests.
Definition: test_coordinates.cpp:5
Tests sur les méthodes de la classe Coordinates.
Definition: test_coordinates.h:19
void test_calcEuclidean()
Definition: test_coordinates.cpp:26
Représentation et opérations simple sur des coordonnées dans un plan.
Definition: Coordinates.h:13