|
|
@ -61,4 +61,14 @@ void test_inputHandling_findMultiFunctionType(void) |
|
|
|
TEST_ASSERT_TRUE(opMult == type); |
|
|
|
} |
|
|
|
|
|
|
|
void test_inputHandling_findDivFunctionType(void) |
|
|
|
{ |
|
|
|
op type = opNotSupported; |
|
|
|
type = detectFunctionOperator("4/5", 3); |
|
|
|
TEST_ASSERT_TRUE(opDiv == type); |
|
|
|
type = opNotSupported; |
|
|
|
type = detectFunctionOperator("4:5", 3); |
|
|
|
TEST_ASSERT_TRUE(opDiv == type); |
|
|
|
} |
|
|
|
|
|
|
|
#endif // TEST |