From db8180fbe6eb635bb27a7bffd41e57f34fbcc92a Mon Sep 17 00:00:00 2001 From: Sophia Weber Date: Sun, 28 Jan 2024 13:24:06 +0100 Subject: [PATCH] Implement Sub find test --- test/test_inputHandling.c | 7 +++++++ 1 file changed, 7 insertions(+) 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