#10952: better numerical accuracy testing
---------------------------+------------------------------------------------
Reporter: robertwb | Owner: mvngu
Type: enhancement | Status: needs_review
Priority: major | Milestone:
Component: doctest | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
---------------------------+------------------------------------------------
Comment(by fbissey):
Would this works with test of that kind as well:
{{{
File "/usr/share/sage/devel/sage-main/sage/stats/hmm/chmm.pyx", line 579:
sage: m.viterbi([-2,-1,.1,0.3])
Expected:
([1, 1, 1, 0], -9.5660236533785135)
Got:
([1, 1, 1, 0], -9.566023653378513)
}}}
or even
{{{
File "/usr/share/sage/devel/sage-
main/sage/categories/examples/semigroups.py", line 32:
sage: S.some_elements()
Expected:
[3, 42, 'a', 3.3999999999999999, 'raton laveur']
Got:
[3, 42, 'a', 3.4, 'raton laveur']
}}}
(test failures courtesy of my work on python-2.7)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10952#comment:6>
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.