From f68809487930c15dba15bffc750457e70286cd87 Mon Sep 17 00:00:00 2001 From: fd7794 Date: Tue, 6 Feb 2024 12:24:40 +0100 Subject: [PATCH] added test for 3 multiplicators for simplify_product_function --- src/test/py/test_read_math_function.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/test/py/test_read_math_function.py b/src/test/py/test_read_math_function.py index 5643e38..09e0d83 100644 --- a/src/test/py/test_read_math_function.py +++ b/src/test/py/test_read_math_function.py @@ -91,6 +91,9 @@ class ReadFunction(unittest.TestCase): def test_simplify_product_function_2_multiplicators(self): self.assertEqual(simplify_product_function("p", "x*x"), ["x^2"]) + def test_simplify_product_function_3_multiplicators(self): + self.assertEqual(simplify_product_function("p", "x*x*x"), ["x^3"]) + if __name__ == '__main__': unittest.main()