From b47c359df8ae2a08e3b487ea4b495edde41c9f2f Mon Sep 17 00:00:00 2001 From: fdai7184 Date: Fri, 10 Feb 2023 01:54:42 +0100 Subject: [PATCH] testing w&a key input --- test/test_input.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/test_input.c b/test/test_input.c index 62305a1..026b420 100644 --- a/test/test_input.c +++ b/test/test_input.c @@ -17,3 +17,13 @@ void test_testArrow(void){ TEST_ASSERT_EQUAL_CHAR('ar', result); } + +void test_testw(void){ + char result = getTInput('w'); + TEST_ASSERT_EQUAL_CHAR('w', result); +} + +void test_testa(void){ + char result = getTInput('a'); + TEST_ASSERT_EQUAL_CHAR('a', result); +}