|
@ -27,3 +27,25 @@ void test_testa(void){ |
|
|
char result = getTInput('a'); |
|
|
char result = getTInput('a'); |
|
|
TEST_ASSERT_EQUAL_CHAR('a', result); |
|
|
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); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|