Browse Source

testing other key inputs

main
fdai7184 2 years ago
parent
commit
ca00389660
  1. 22
      test/test_input.c

22
test/test_input.c

@ -27,3 +27,25 @@ void test_testa(void){
char result = getTInput('a');
TEST_ASSERT_EQUAL_CHAR('a', result);
}
void test_tests(void){
char result = getTInput('s');
TEST_ASSERT_EQUAL_CHAR('s', result);
}
void test_testd(void){
char result = getTInput('d');
TEST_ASSERT_EQUAL_CHAR('d', result);
}
void test_testq(void){
char result = getTInput('q');
TEST_ASSERT_EQUAL_CHAR('q', result);
}
void test_testp(void){
char result = getTInput('p');
TEST_ASSERT_EQUAL_CHAR('p', result);
}
Loading…
Cancel
Save