From 478acc16d32c9319a248962635fa1b0d893e64c5 Mon Sep 17 00:00:00 2001 From: Sophia Weber Date: Sun, 28 Jan 2024 13:22:41 +0100 Subject: [PATCH] Implement Add 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 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