Browse Source

last test

main cloned-at-2023-02-11
fdai7184 2 years ago
parent
commit
f98e6cd82f
  1. 6
      test/test_input.c

6
test/test_input.c

@ -73,6 +73,12 @@ void test_testb(void){
TEST_ASSERT_EQUAL_CHAR('n', result);
}
//test input invalid
void test_testc(void){
char result = getTInput('c');
TEST_ASSERT_EQUAL_CHAR('n', result);
}
void test_testkbhit(void){
int result = kbhit();
TEST_ASSERT_EQUAL_INT(0, result);

Loading…
Cancel
Save