#5768: improve coverage of generators.pyx
-----------------------+----------------------------------------------------
Reporter: was | Owner: mabshoff
Type: defect | Status: new
Priority: major | Milestone: sage-4.4.3
Component: doctest | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------+----------------------------------------------------
Changes (by kcrisman):
* cc: mvngu (added)
* upstream: => N/A
Comment:
Current status of that function:
{{{
cpdef get_from_index(self, i):
"""
EXAMPLES:
sage: from sage.structure.generators import Generators_list
sage: gens = Generators_list(ZZ, [5,9], Rings)
sage: gens.get_from_index(0)
5
"""
}}}
Though still
{{{
SCORE /Users/.../sage-4.4.2/devel/sage/sage/structure/generators.pyx: 11%
(5 of 45)
Missing documentation:
* __init__(self, Generators gens):
* next(self):
* __iter__(self):
* __init__(self, obj, index_set, category):
* get_from_index(self, i):
* __contains__(self, x):
* __call__(self, i):
* __getitem__(self, i):
* __iter__(self):
* __len__(self):
* index_set(self):
* category(self):
* obj(self):
* count(self):
* list(self):
* _repr_(self):
* count(self):
* __cmp__(self, other_unty):
* _repr_(self):
* __reduce__(self):
* make_finite_gens(obj, n, index_set, category):
* __reduce__(self):
* __cmp__(left, _right):
* _repr_(self):
* __init__(self, obj, category):
* count(self):
* __getitem__(self, i):
* __init__(self, obj, category = None):
* get_from_index(self, i):
* __contains__(self, x):
* __iter__(self):
* index_set(self):
* count(self):
* list(self):
* __init__(self, G, index_set, category, computing_function):
* get_from_index(self, i):
* count(self):
* list(self):
* _repr_(self):
Missing doctests:
* __init__(self, obj, n, index_set, category):
Possibly wrong (function name doesn't occur in doctests):
* make_list_gens(*args):
}}}
So there is yet work to be done.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5768#comment:2>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.