#16580: FiniteStateMachine: cleanup code
-------------------------------------+-------------------------------------
Reporter: cheuberg | Owner:
Type: defect | Status: needs_work
Priority: minor | Milestone: sage-6.3
Component: finite state | Resolution:
machines | Merged in:
Keywords: | Reviewers: Daniel Krenn
finite_state_machine | Work issues:
Authors: Clemens Heuberger | Commit:
Report Upstream: N/A | 4eef9c8be87f02a8e100899a471cb1e6e5841a51
Branch: u/cheuberg/fsm | Stopgaps:
/code-cleanup-post-16067 |
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by vbraun):
Or compare sets
{{{
sage: expected = """
....: \begin{tikzpicture}[auto, initial text=, >=latex, accepting
text=,
....: ...
....: \end{tikzpicture}
....: """
sage: set(latex(T).splitlines()) == set(expected.splitlines())
}}}
Or write a convenience funtion to do the comparison and import it into the
doctest.
--
Ticket URL: <http://trac.sagemath.org/ticket/16580#comment:12>
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.