commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles (JIRA)" <>
Subject [jira] [Created] (MATH-1301) Create a test class for "JDKRandomGenerator"
Date Sat, 19 Dec 2015 23:49:46 GMT
Gilles created MATH-1301:

             Summary: Create a test class for "JDKRandomGenerator"
                 Key: MATH-1301
             Project: Commons Math
          Issue Type: Test
            Reporter: Gilles
            Priority: Minor
             Fix For: 4.0

{{JDKRandomGenerator}} has no unit test.

Creating a test class that inherits from {{RandomGeneratorAbstractTest}} will require to handle
the  exceptions thrown from two of its test methods:
* testNextIntNeg
* testNextIntIAE2

Those expect {{MathIllegalArgumentException}} whereas {{JDKRandomGenerator}} would throw {{IllegalArgumentException}}.

This message was sent by Atlassian JIRA

View raw message