#include #include #include #include #include #include "simplematrix.hpp" #include "GKR_Model.h" class GKR_Test : public CppUnit::TestFixture { CPPUNIT_TEST_SUITE( GKR_Test ); CPPUNIT_TEST( testPrediction ); CPPUNIT_TEST( testSerialization ); CPPUNIT_TEST( testCopy ); CPPUNIT_TEST( testMap ); CPPUNIT_TEST_SUITE_END(); public: GKR_Test(); void setUp(); void tearDown(); void testPrediction(); void testSerialization(); void testCopy(); void testMap(); private: std::vector au4; Matrix2d poses; std::string ID; GKR::Model model; std::string getTemporaryFilename(); int loadTestData( Matrix2d &testData ); };