TestSuite( PartitionTuples() ).run()
and it produced quite a lot of errors. The last 4 lines were
The following tests failed: _test_elements_eq_reflexive, _test_elements_eq_symmetric, _test_elements_eq_transitive, _test_elements_neq, _test_enumerated_set_contains, _test_some_elements
Also, most of the example code in the help page for 'PartitionTuples' produces errors. (The page is http://www.sagemath.org/doc/reference/combinat/sage/combinat/partition_tuple.html#sage.combinat.partition_tuple.PartitionTuples ) The version I am using is
'Sage Version 6.2, Release Date: 2014-05-06'
Is this a bug? Or maybe I need to install something else?
┌────────────────────────────────────────────────────────────────────┐
│ Sage Version 6.2, Release Date: 2014-05-06 │
│ Type "notebook()" for the browser-based notebook interface. │
│ Type "help()" for help. │
└────────────────────────────────────────────────────────────────────┘
sage: TestSuite( PartitionTuples() ).run()
sage: PartitionTuple([[2,1],[],[1,1,1,1],[3,3,3,2]])
([2, 1], [], [1, 1, 1, 1], [3, 3, 3, 2])
6.2-master-combinat: sage -t partition_tuple.py
Running doctests with ID 2014-06-17-12-53-19-84d39e8a.
Doctesting 1 file.
sage -t partition_tuple.py
[273 tests, 6.23 s]
----------------------------------------------------------------------
All tests passed!
----------------------------------------------------------------------
Total time for all tests: 6.4 seconds
cpu time: 6.2 seconds
cumulative wall time: 6.2 seconds