|
@ -57,7 +57,7 @@ void test_command_startGame(void){ |
|
|
char* input = "start game"; |
|
|
char* input = "start game"; |
|
|
|
|
|
|
|
|
// act |
|
|
// act |
|
|
int actualState = handeCommand( input ); |
|
|
|
|
|
|
|
|
int actualState = handleCommand( input ); |
|
|
|
|
|
|
|
|
// assert |
|
|
// assert |
|
|
TEST_ASSERT_EQUAL_INT( expectedState, actualState ); |
|
|
TEST_ASSERT_EQUAL_INT( expectedState, actualState ); |
|
@ -69,7 +69,7 @@ void test_command_startMenu(void){ |
|
|
char* input = "start menu"; |
|
|
char* input = "start menu"; |
|
|
|
|
|
|
|
|
// act |
|
|
// act |
|
|
int actualState = handeCommand( input ); |
|
|
|
|
|
|
|
|
int actualState = handleCommand( input ); |
|
|
|
|
|
|
|
|
// assert |
|
|
// assert |
|
|
TEST_ASSERT_EQUAL_INT( expectedState, actualState ); |
|
|
TEST_ASSERT_EQUAL_INT( expectedState, actualState ); |