Hi Nicolas,

Quick comments:

Thanks again for your comments. I incorporated all of them except for the 
following issue
which I do not know how to resolve:

  - in the doctests of the two __init__:
     - Use TestSuite(c).run() rather than the loads/dumps thingy
     - add:
         sage: c
        [2, 1]
        sage: type(c)
        ...

I implemented a parent method for Core, but the TestSuite still does not pass:

sage: c = Core([2,1],4)
sage: TestSuite(c).run()
Failure in _test_category:
Traceback (most recent call last):
  File 
"/Applications/sage/local/lib/python2.6/site-packages/sage/misc/sage_unittest.py",
 line 275, in run
    test_method(tester = tester)
  File "element.pyx", line 495, in 
sage.structure.element.Element._test_category (sage/structure/element.c:3864)
  File "/Applications/sage/local/lib/python/unittest.py", line 325, in 
failUnless
    if not expr: raise self.failureException, msg
AssertionError
------------------------------------------------------------
The following tests failed: _test_category

In particular, a core does not think it lives in its parent:

sage: c in c.parent()
False

or

sage: C = Cores(4, 6); C
4-Cores of length 6
sage: c = C.an_element()
sage: c in C
False

I am not sure what I need to do to fix this. Tableaux for example do not even 
have parents!

Thanks,

Anne

--
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.

Reply via email to