From 9f42c3add9b8f9eb69084323c816977d52902d0b Mon Sep 17 00:00:00 2001 From: Danielle Bolan Date: Wed, 11 Jun 2014 17:56:00 +0200 Subject: [PATCH 1/1] test file --- tests/test_linear.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_linear.py b/tests/test_linear.py index 4636275..93fc838 100644 --- a/tests/test_linear.py +++ b/tests/test_linear.py @@ -12,7 +12,7 @@ class TestExpression(unittest.TestCase): self.x = symbol('x') self.y = symbol('y') self.z = symbol('z') - self.zero = constant(0) + self.zero = constant(5) self.pi = constant(Fraction(22, 7)) self.e = self.x - 2*self.y + 3 @@ -23,6 +23,7 @@ class TestExpression(unittest.TestCase): self.assertCountEqual(self.x.symbols(), ['x']) self.assertCountEqual(self.pi.symbols(), []) self.assertCountEqual(self.e.symbols(), ['x', 'y']) + def test_dimension(self): self.assertEqual(self.x.dimension, 1) @@ -175,3 +176,4 @@ class TestPolyhedron(unittest.TestCase): pass + -- 2.20.1