Skip to content

Increase doctest coverage in sage/coding/linear_code.py to 100% #12893

@benjaminfjones

Description

@benjaminfjones

As the summary states. As of sage-5.0.beta14 coverage is:

linear_code.py
SCORE linear_code.py: 82% (52 of 63)

Missing documentation:
 * __init__(self, gen_mat):
 * _repr_(self):
 * ambient_space(self):
 * basis(self):
 * __contains__(self,v):
 * characteristic(self):
 * __cmp__(self, right):

Missing doctests:
 * bounds_minimum_distance(n, k, F):
 * sd_duursma_data(C, i):
 * sd_duursma_q(C,i,d0):
 * LinearCodeFromVectorSpace(self):

Possibly wrong (function name doesn't occur in doctests):
 * _magma_init_(self, magma):

Apply attachment: trac_12893_linear_code_doctests.patch to the Sage library.

Component: documentation

Keywords: linear code doctest coverage

Author: Benjamin Jones

Reviewer: William Stein

Merged: sage-5.1.beta0

Issue created by migration from https://trac.sagemath.org/ticket/12893

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions