Files
vb01/animationChannelTest.h
devZoGok f8d5beb5d6 animation channel improvements
beginning of animation controller test
2021-10-19 19:06:41 +03:00

35 lines
723 B
C++

#ifndef ANIMATION_CHANNEL_TEST
#define ANIMATION_CHANNEL_TES
#include <cppunit/TestFixture.h>
#include <cppunit/extensions/HelperMacros.h>
namespace vb01{
class Skeleton;
class AnimationChannel;
class AnimationChannelTest : public CppUnit::TestFixture{
CPPUNIT_TEST_SUITE(AnimationChannelTest);
CPPUNIT_TEST(testUpdate);
CPPUNIT_TEST(testGetMaxKeyframeNum);
CPPUNIT_TEST(testGetFirstFrame);
CPPUNIT_TEST_SUITE_END();
public:
AnimationChannelTest(){}
~AnimationChannelTest(){}
void setUp();
void tearDown();
private:
Skeleton *skeleton = nullptr;
AnimationChannel *channel = nullptr;
void testUpdate();
void testGetMaxKeyframeNum();
void testGetFirstFrame();
};
}
#endif