You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gilles (JIRA)" <ji...@apache.org> on 2017/04/01 13:26:41 UTC

[jira] [Created] (MATH-1407) Drop "RandomUtilsDataGeneratorJDKSecureRandomTest"

Gilles created MATH-1407:
----------------------------

             Summary: Drop "RandomUtilsDataGeneratorJDKSecureRandomTest"
                 Key: MATH-1407
                 URL: https://issues.apache.org/jira/browse/MATH-1407
             Project: Commons Math
          Issue Type: Task
            Reporter: Gilles
            Assignee: Gilles
            Priority: Trivial
             Fix For: 4.0


This unit test fails quite often.
Somehow, the instance of JDK's [SecureRandom|https://docs.oracle.com/javase/7/docs/api/java/security/SecureRandom.html] fails to meet the expectations of the unit test.
However unit test does not actually test any functionality implemented in Commons Math, only that the RNG is uniformly distributed.
So either the test is wrong (or perhaps more stringent than need be) or the RNG being tested is indeed not uniformly distributed.
In both cases, it seems right to drop it.




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)