Browse Source

testing w&a key input

main
fdai7184 2 years ago
parent
commit
b47c359df8
  1. 10
      test/test_input.c

10
test/test_input.c

@ -17,3 +17,13 @@ void test_testArrow(void){
TEST_ASSERT_EQUAL_CHAR('ar', result); TEST_ASSERT_EQUAL_CHAR('ar', result);
} }
void test_testw(void){
char result = getTInput('w');
TEST_ASSERT_EQUAL_CHAR('w', result);
}
void test_testa(void){
char result = getTInput('a');
TEST_ASSERT_EQUAL_CHAR('a', result);
}
Loading…
Cancel
Save