#13555: Doctests of random functions needs to be improved.
---------------------------+------------------------------------------------
   Reporter:  JoalHeagney  |             Owner:  mvngu                          
                                          
       Type:  defect       |            Status:  new                            
                                          
   Priority:  major        |         Milestone:  sage-5.5                       
                                          
  Component:  doctest      |          Keywords:  random, matrices, 
random_matrix, properties of random objects, properties
Work issues:               |   Report Upstream:  N/A                            
                                          
  Reviewers:               |           Authors:                                 
                                          
  Merged in:               |      Dependencies:                                 
                                          
   Stopgaps:               |  
---------------------------+------------------------------------------------
 Currently a lot of random functions are skipped during doc-testing, as
 their results can't be predicted.

 However, in ticket [http://trac.sagemath.org/sage_trac/ticket/13554
 #13554], it is clear that errors are slipping through, and
 __'''properties'''__ of random objects should be checked when possible.

 For example, in ticket [http://trac.sagemath.org/sage_trac/ticket/13554
 #13554], the generated matrices should at least be tested for the
 following (if they aren't already):

  * Presence of zero entries when method/documentation states that no zero
 entries should be created, unless density= keyword is used.
  * method=echelon_form produces matrices in echelon form.
  * method=echelonizable can be echelonized.
  * method=unimodular has a determinant of 1.
  * method=diagonizable can be diagonalized and eigenvalues are integers.
  * x= , y= has all entries between x (inclusive) and y (non-inclusive),
 unless density= keyword is used and 0 isn't between x and y. (In that case
 entries should be either between x and y, or zero.)

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13555>
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.

Reply via email to