Change-Id: Ifc213ed03f3b5f1c0340d24e406781fcc2ce356f
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
tet_infoline( "Test that a timer has been created" );
DALI_TEST_EQUALS( Test::GetTimerCount(), 1, TEST_INNER_LOCATION( location ) );
- for ( uint16_t i = 0; i <= loopCount; i++ )
+ for ( uint16_t i = 0; i < loopCount; i++ )
{
for ( uint16_t j = 0; j < frameCount; j++ )
{
// Wrap the frame index
++mCurrentFrameIndex;
- if( mLoopCount < 0 || mCurrentLoopIndex <= mLoopCount)
+ if( mLoopCount < 0 || mCurrentLoopIndex < mLoopCount)
{
mCurrentFrameIndex %= mFrameCount;
if( mCurrentFrameIndex == 0 )