init commit

This commit is contained in:
2024-11-12 17:41:10 +01:00
parent 1e4f1f955b
commit 20bc9108d3
146 changed files with 24465 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
#include <cppunit/TestFixture.h>
#include <cppunit/TestCaller.h>
#include <cppunit/extensions/TestFactoryRegistry.h>
#include <cppunit/extensions/HelperMacros.h>
#include "../inputCouche.h"
#include <vector>
class InputCoucheTest : public CppUnit::TestFixture {
CPPUNIT_TEST_SUITE( InputCoucheTest );
CPPUNIT_TEST( testActivate );
CPPUNIT_TEST( testGetChange );
CPPUNIT_TEST( testCopy );
CPPUNIT_TEST_EXCEPTION( testActivateWrongSize, std::string);
CPPUNIT_TEST_SUITE_END();
private:
InputCouche Input1;// un evenement a tester
InputCouche Input2;// un deuxieme evenement a tester
public:
void setUp();
void tearDown();
void testActivate();
void testActivateWrongSize();
void testGetChange();
void testCopy();
};