diff --git a/test/test_input.c b/test/test_input.c index 76cb1cf..c086d80 100644 --- a/test/test_input.c +++ b/test/test_input.c @@ -66,3 +66,9 @@ void test_testg(void){ char result = getTInput('g'); TEST_ASSERT_EQUAL_CHAR('n', result); } + +//test input invalid +void test_testg(void){ + char result = getTInput('b'); + TEST_ASSERT_EQUAL_CHAR('n', result); +}