diff --git a/test/test_inputHandling.c b/test/test_inputHandling.c index 0c16125..ee9fa90 100644 --- a/test/test_inputHandling.c +++ b/test/test_inputHandling.c @@ -40,4 +40,11 @@ void test_inputHandling_deleteAllOtherCharacter(void) TEST_ASSERT_EQUAL_STRING("HalloWelt", halloWelt4); } +void test_inputHandling_findAddFunctionType(void) +{ + op type = opNotSupported; + type = detectFunctionOperator("4+5", 3); + TEST_ASSERT_TRUE(opAdd == type); +} + #endif // TEST