Correct doctests with random output

Issue #86 resolved
David Lucas repo owner created an issue

I just noticed that I wrote some of the doctests for methods that have a random output the wrong way. A #random markup should be used (see : http://www.sagemath.org/doc/developer/coding_basics.html#special-markup-to-influence-tests )

Comments (2)

  1. Daniel Augot

    I am completely perplexed by the example provided in the above link. A hash is definitely not random.

    But the sentence after the example makes it clear : "the doctesting framework guarantees the state of the pseudorandom number generators".

    I think there is no need to add the # random tag.

    Still, may be there is need to fix your doctests.

    I can go through that,

  2. Log in to comment