Browse Source

added test for exponent 1 for simplify_exponential_function

remotes/origin/feature/feature-read-math-function-added-funktions
fd7794 11 months ago
parent
commit
014f44b404
  1. 3
      src/test/py/test_read_math_function.py

3
src/test/py/test_read_math_function.py

@ -76,6 +76,9 @@ class ReadFunction(unittest.TestCase):
def test_simplify_exponential_function_premultiplicator(self): def test_simplify_exponential_function_premultiplicator(self):
self.assertEqual(simplify_exponential_function("e", "2x^2"), ["4x"]) self.assertEqual(simplify_exponential_function("e", "2x^2"), ["4x"])
def test_simplify_exponential_function_exponent_1(self):
self.assertEqual(simplify_exponential_function("e", "2x^1"), ["2"])
if __name__ == '__main__': if __name__ == '__main__':
unittest.main() unittest.main()
Loading…
Cancel
Save