diff --git a/test/test_inputHandler.c b/test/test_inputHandler.c index 5cf92c7..e7bff29 100644 --- a/test/test_inputHandler.c +++ b/test/test_inputHandler.c @@ -15,4 +15,11 @@ void test_inputHandler_returntwoforinputminus(void) { int result; result = getOperationIdBySymbol('-'); TEST_ASSERT_EQUAL_INT(expectedResult, result); -} \ No newline at end of file +} + +void test_inputHandler_returnoneforinputplus(void) { + int expectedResult = 1; + int result; + result = getOperationIdBySymbol('+'); + TEST_ASSERT_EQUAL_INT(expectedResult, result); +}