|
|
@ -82,6 +82,9 @@ class ReadFunction(unittest.TestCase): |
|
|
|
def test_simplify_exponential_function_exponent_0(self): |
|
|
|
self.assertEqual(simplify_exponential_function("e", "2x^0"), ["0x^-1"]) |
|
|
|
|
|
|
|
def test_simplify_exponential_function_negative_premultiplicator(self): |
|
|
|
self.assertEqual(simplify_exponential_function("e", "-2x^1"), ["-2"]) |
|
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__': |
|
|
|
unittest.main() |