diff --git a/tests/test_perm.py b/tests/test_perm.py index 19c1186..872b7c3 100644 --- a/tests/test_perm.py +++ b/tests/test_perm.py @@ -6,8 +6,9 @@ class TestPerm(unittest.TestCase): def test_init(self): + Permutation([]) + Permutation([0, 1]) Permutation([0, 1, 2, 3]) - self.assertEqual(Permutation([]), Permutation([0, 1])) def test_one(self): self.assertEqual(Permutation([1, 0, 2]) ** 2, Permutation([0, 1, 2])) self.assertEqual(Permutation([1, 0, 2]).ran(), [1, 0, 2]) diff --git a/tests/test_pperm.py b/tests/test_pperm.py index 1868660..b5627d1 100644 --- a/tests/test_pperm.py +++ b/tests/test_pperm.py @@ -8,7 +8,8 @@ def test_init(self): PartialPerm([1, 0], [0, 1], 5) PartialPerm([0, 3, 4, 5, 8, 20, 23373], [1, 2, 34, 23423, 233, 432, 26], 26260) # Check for CPPYY issue workaround - self.assertEqual(PartialPerm([]), PartialPerm([0, 1])) + PartialPerm([]) + PartialPerm([0, 1]) def test_init_fail(self): with self.assertRaises(TypeError): diff --git a/tests/test_transf.py b/tests/test_transf.py index 1a6700e..b5023f6 100644 --- a/tests/test_transf.py +++ b/tests/test_transf.py @@ -8,7 +8,8 @@ def test_init(self): Transformation([1, 1, 3, 2, 4, 3]) Transformation([9, 3, 1, 2, 0, 8, 1, 2, 0, 5]) # Check for CPPYY issue workaround - self.assertEqual(Transformation([]), Transformation([0, 1])) + Transformation([]) + Transformation([0, 1]) def test_init_fail(self): with self.assertRaises(TypeError):