Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
src/sage/features/mcqd.py: Add doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Oct 15, 2021
1 parent 759c88b commit 74e5c9c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/sage/features/mcqd.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,24 @@


class Mcqd(JoinFeature):
r"""
A :class:`sage.features.Feature` describing the presence of :mod:`~sage.graphs.mcqd`
EXAMPLES::
sage: from sage.features.graphviz import Mcqd
sage: Mcqd().is_present() # optional: mcqd
FeatureTestResult('mcqd', True)
"""

def __init__(self):
"""
TESTS::
sage: from sage.features.graphviz import Mcqd
sage: isinstance(Mcqd(), Mcqd)
True
"""
# Currently part of sagemath_standard, conditionally built.
# Will be changed to spkg='sagemath_mcqd' later
JoinFeature.__init__(self, 'mcqd',
Expand Down

0 comments on commit 74e5c9c

Please sign in to comment.