diff --git a/test/test_inputHandling.c b/test/test_inputHandling.c index ee9fa90..139cd7b 100644 --- a/test/test_inputHandling.c +++ b/test/test_inputHandling.c @@ -47,4 +47,11 @@ void test_inputHandling_findAddFunctionType(void) TEST_ASSERT_TRUE(opAdd == type); } +void test_inputHandling_findSubFunctionType(void) +{ + op type = opNotSupported; + type = detectFunctionOperator("4-5", 3); + TEST_ASSERT_TRUE(opSub == type); +} + #endif // TEST