From bd93f6dc7fad2ce6de402ffcb1495b3a2fe168cf Mon Sep 17 00:00:00 2001 From: Sophia Weber Date: Sun, 28 Jan 2024 13:26:29 +0100 Subject: [PATCH] Implement Multi 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 139cd7b..e4f6be1 100644 --- a/test/test_inputHandling.c +++ b/test/test_inputHandling.c @@ -54,4 +54,11 @@ void test_inputHandling_findSubFunctionType(void) TEST_ASSERT_TRUE(opSub == type); } +void test_inputHandling_findMultiFunctionType(void) +{ + op type = opNotSupported; + type = detectFunctionOperator("4*5", 3); + TEST_ASSERT_TRUE(opMult == type); +} + #endif // TEST