From 7eebe1c7abbeb8306c661ec20662059d41c4710a Mon Sep 17 00:00:00 2001 From: fdai7184 Date: Fri, 10 Feb 2023 21:21:12 +0100 Subject: [PATCH] test with invalid input --- test/test_input.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/test_input.c b/test/test_input.c index 5292bb7..1f00cce 100644 --- a/test/test_input.c +++ b/test/test_input.c @@ -48,4 +48,9 @@ void test_testp(void){ TEST_ASSERT_EQUAL_CHAR('p', result); } +void test_testn(void){ + char result = getTInput('n'); + TEST_ASSERT_EQUAL_CHAR('n', result); +} +