animation channel improvements

beginning of animation controller test
This commit is contained in:
devZoGok
2021-10-19 19:06:41 +03:00
parent 347286aa1f
commit f8d5beb5d6
10 changed files with 155 additions and 31 deletions
+30
View File
@@ -0,0 +1,30 @@
#ifndef ANIMATION_CONTROLLER_TEST_H
#define ANIMATION_CONTROLLER_TEST_H
#include <cppunit/TestFixture.h>
#include <cppunit/extensions/HelperMacros.h>
namespace vb01{
class Skeleton;
class AnimationChannel;
class AnimationController;
class AnimationControllerTest : public CppUnit::TestFixture{
CPPUNIT_TEST_SUITE(AnimationControllerTest);
CPPUNIT_TEST(testPrepareAdjacentValues);
CPPUNIT_TEST_SUITE_END();
public:
AnimationControllerTest(){}
void setUp();
void tearDown();
private:
void createAnimation();
void testPrepareAdjacentValues();
Skeleton *skeleton = nullptr;
AnimationController *controller = nullptr;
AnimationChannel *channel = nullptr;
};
}
#endif