From 7d06c4632b05b2cc075f0003f800dcddc5d7b993 Mon Sep 17 00:00:00 2001 From: Sophia Weber Date: Sun, 28 Jan 2024 13:31:15 +0100 Subject: [PATCH] Implement Exp 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 f68f20c..7f8364f 100644 --- a/test/test_inputHandling.c +++ b/test/test_inputHandling.c @@ -71,4 +71,11 @@ void test_inputHandling_findDivFunctionType(void) TEST_ASSERT_TRUE(opDiv == type); } +void test_inputHandling_findExpFunctionType(void) +{ + op type = opNotSupported; + type = detectFunctionOperator("4^5", 3); + TEST_ASSERT_TRUE(opExp == type); +} + #endif // TEST