#19424: enable TestSuite for AsymptoticRing
-----------------------------------------+-------------------------
       Reporter:  dkrenn                 |        Owner:
           Type:  defect                 |       Status:  new
       Priority:  major                  |    Milestone:  sage-6.10
      Component:  asymptotic expansions  |   Resolution:
       Keywords:                         |    Merged in:
        Authors:                         |    Reviewers:
Report Upstream:  N/A                    |  Work issues:
         Branch:                         |       Commit:
   Dependencies:  #19083                 |     Stopgaps:
-----------------------------------------+-------------------------
Changes (by cheuberg):

 * cc: cheuberg (added)


Old description:

> In sage.ring.asymptotic_ring.AsymptoticRing there is
> {{{
>         sage: from sage.rings.asymptotic.asymptotic_ring import
> AsymptoticRing as AR_class
>         sage: class AR(AR_class):
>         ....:     class Element(AR_class.Element):
>         ....:         __eq__ = AR_class.Element.has_same_summands
>         sage: A = AR(growth_group='z^QQ', coefficient_ring=QQ)
>         sage: from itertools import islice
>         sage: TestSuite(A).run(  # not tested  # long time
>         ....:     verbose=True,
>         ....:     elements=tuple(islice(A.some_elements(), 10)),
>         ....:     skip=('_test_some_elements',  # to many elements
>         ....:           '_test_distributivity'))  # due to cancellations:
> O(z) != O(z^2)
> }}}
> which is marked as not tested. This is due to some failures with
> pickling. Correct this and enable this test.

New description:

 In `sage.ring.asymptotic_ring.AsymptoticRing` there is
 {{{
         sage: from sage.rings.asymptotic.asymptotic_ring import
 AsymptoticRing as AR_class
         sage: class AR(AR_class):
         ....:     class Element(AR_class.Element):
         ....:         __eq__ = AR_class.Element.has_same_summands
         sage: A = AR(growth_group='z^QQ', coefficient_ring=QQ)
         sage: from itertools import islice
         sage: TestSuite(A).run(  # not tested  # long time
         ....:     verbose=True,
         ....:     elements=tuple(islice(A.some_elements(), 10)),
         ....:     skip=('_test_some_elements',  # to many elements
         ....:           '_test_distributivity'))  # due to cancellations:
 O(z) != O(z^2)
 }}}
 which is marked as not tested. This is due to some failures with pickling.
 Correct this and enable this test.

--

--
Ticket URL: <http://trac.sagemath.org/ticket/19424#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to