|
@ -73,6 +73,9 @@ class ReadFunction(unittest.TestCase): |
|
|
def test_simplify_exponential_function_exponent_not_1_not_0(self): |
|
|
def test_simplify_exponential_function_exponent_not_1_not_0(self): |
|
|
self.assertEqual(simplify_exponential_function("e", "x^2"), ["2x"]) |
|
|
self.assertEqual(simplify_exponential_function("e", "x^2"), ["2x"]) |
|
|
|
|
|
|
|
|
|
|
|
def test_simplify_exponential_function_premultiplicator(self): |
|
|
|
|
|
self.assertEqual(simplify_exponential_function("e", "2x^2"), ["4x"]) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__': |
|
|
if __name__ == '__main__': |
|
|
unittest.main() |
|
|
unittest.main() |