From 8a67865773c33fbeff16d0000f16a6f3c78e4800 Mon Sep 17 00:00:00 2001 From: Sandy Date: Sun, 6 Jul 2014 23:36:36 -0400 Subject: [PATCH] Test calling on empty equation, triggering error --- tests/test_Equation.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_Equation.py b/tests/test_Equation.py index 55b8fc0..fd20bbe 100755 --- a/tests/test_Equation.py +++ b/tests/test_Equation.py @@ -75,6 +75,9 @@ def testRepr(self): def testStr(self): self.assertEqual(str(self.fn),"") + + def testCall(self): + self.assertEqual(self.fn(), 0) def tearDown(self): pass