@@ -25,7 +25,8 @@ void test_play_random(void) {
2525
2626 animation.playRandom ();
2727
28- TEST_ASSERT_EQUAL (BlenderServoAnimation::MODE_PLAY_RANDOM, animation.getMode ());
28+ TEST_ASSERT_EQUAL (BlenderServoAnimation::MODE_PLAY_RANDOM,
29+ animation.getMode ());
2930 TEST_ASSERT_NOT_EQUAL (nullptr , animation.getCurrentScene ());
3031 TEST_ASSERT_EQUAL (1 , animation.getPlayIndex ());
3132 TEST_ASSERT_FALSE (animation.scenePlayed (0 ));
@@ -36,7 +37,8 @@ void test_play_random(void) {
3637 animation.run (i);
3738 }
3839
39- TEST_ASSERT_EQUAL (BlenderServoAnimation::MODE_PLAY_RANDOM, animation.getMode ());
40+ TEST_ASSERT_EQUAL (BlenderServoAnimation::MODE_PLAY_RANDOM,
41+ animation.getMode ());
4042 TEST_ASSERT_EQUAL (0 , animation.getPlayIndex ());
4143 TEST_ASSERT_TRUE (animation.scenePlayed (0 ));
4244 TEST_ASSERT_TRUE (animation.scenePlayed (1 ));
@@ -46,7 +48,8 @@ void test_play_random(void) {
4648 animation.run (i);
4749 }
4850
49- TEST_ASSERT_EQUAL (BlenderServoAnimation::MODE_PLAY_RANDOM, animation.getMode ());
51+ TEST_ASSERT_EQUAL (BlenderServoAnimation::MODE_PLAY_RANDOM,
52+ animation.getMode ());
5053 TEST_ASSERT_EQUAL (2 , animation.getPlayIndex ());
5154 TEST_ASSERT_EQUAL (20 , logIndex);
5255 TEST_ASSERT_FALSE (animation.scenePlayed (0 ));
@@ -78,9 +81,11 @@ void test_prevented(void) {
7881 TEST_ASSERT_EQUAL (BlenderServoAnimation::MODE_PLAY, animation.getMode ());
7982 animation.pause ();
8083 animation.playSingle (0 );
81- TEST_ASSERT_EQUAL (BlenderServoAnimation::MODE_PLAY_SINGLE, animation.getMode ());
84+ TEST_ASSERT_EQUAL (BlenderServoAnimation::MODE_PLAY_SINGLE,
85+ animation.getMode ());
8286 animation.playRandom ();
83- TEST_ASSERT_EQUAL (BlenderServoAnimation::MODE_PLAY_SINGLE, animation.getMode ());
87+ TEST_ASSERT_EQUAL (BlenderServoAnimation::MODE_PLAY_SINGLE,
88+ animation.getMode ());
8489 animation.stop ();
8590 TEST_ASSERT_EQUAL (BlenderServoAnimation::MODE_STOP, animation.getMode ());
8691 animation.playRandom ();
@@ -99,11 +104,13 @@ void test_allowed(void) {
99104
100105 TEST_ASSERT_EQUAL (BlenderServoAnimation::MODE_DEFAULT, animation.getMode ());
101106 animation.playRandom ();
102- TEST_ASSERT_EQUAL (BlenderServoAnimation::MODE_PLAY_RANDOM, animation.getMode ());
107+ TEST_ASSERT_EQUAL (BlenderServoAnimation::MODE_PLAY_RANDOM,
108+ animation.getMode ());
103109 animation.pause ();
104110 TEST_ASSERT_EQUAL (BlenderServoAnimation::MODE_PAUSE, animation.getMode ());
105111 animation.playRandom ();
106- TEST_ASSERT_EQUAL (BlenderServoAnimation::MODE_PLAY_RANDOM, animation.getMode ());
112+ TEST_ASSERT_EQUAL (BlenderServoAnimation::MODE_PLAY_RANDOM,
113+ animation.getMode ());
107114}
108115
109116int main (int argc, char **argv) {
0 commit comments