X-Git-Url: https://svn.cri.ensmp.fr/git/linpy.git/blobdiff_plain/b47140c554b345a934698a04a2a8c0e64685ed17..556abe7f3b2c7e3985560f3e3cfb6f66bacc4122:/pypol/tests/test_domains.py?ds=sidebyside diff --git a/pypol/tests/test_domains.py b/pypol/tests/test_domains.py index 692627c..55853fd 100644 --- a/pypol/tests/test_domains.py +++ b/pypol/tests/test_domains.py @@ -77,11 +77,11 @@ class TestDomain(unittest.TestCase): def test_polyhedral_hull(self): self.assertEqual(self.square1.polyhedral_hull(), self.hull) - def test_drop_dims(self): - self.assertEqual(self.square1.drop_dims('x'), self.dropped) - self.assertEqual(self.square1.drop_dims('x y'), self.universe) - self.assertEqual(self.universe.drop_dims(' '), self.universe) - self.assertEqual(self.empty.drop_dims(' '), Empty) + def test_project_out(self): + self.assertEqual(self.square1.project_out('x'), self.dropped) + self.assertEqual(self.square1.project_out('x y'), self.universe) + self.assertEqual(self.universe.project_out(' '), self.universe) + self.assertEqual(self.empty.project_out(' '), Empty) def test_simplify(self): self.assertEqual(self.universe.simplify(), self.universe)