From 382f00ca8f10833aecdb68f225b788c482b0009a Mon Sep 17 00:00:00 2001 From: fdai7184 Date: Fri, 10 Feb 2023 21:29:24 +0100 Subject: [PATCH] further testing with invalid input --- test/test_input.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/test_input.c b/test/test_input.c index 1f00cce..58d5ee6 100644 --- a/test/test_input.c +++ b/test/test_input.c @@ -53,4 +53,8 @@ void test_testn(void){ TEST_ASSERT_EQUAL_CHAR('n', result); } +void test_testg(void){ + char result = getTInput('g'); + TEST_ASSERT_EQUAL_CHAR('n', result); +}