From ca00389660d3c0b8325379c16b166015adb70052 Mon Sep 17 00:00:00 2001 From: fdai7184 Date: Fri, 10 Feb 2023 01:57:41 +0100 Subject: [PATCH] testing other key inputs --- test/test_input.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/test/test_input.c b/test/test_input.c index 026b420..5292bb7 100644 --- a/test/test_input.c +++ b/test/test_input.c @@ -27,3 +27,25 @@ void test_testa(void){ char result = getTInput('a'); 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); +} + +