[
https://issues.apache.org/jira/browse/MATH-1301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gilles resolved MATH-1301.
--------------------------
Resolution: Fixed
Commit 2ab17f529d07c1f618ea08d968b2fdf3a382a792 (master)
> Create a test class for "JDKRandomGenerator"
> --------------------------------------------
>
> Key: MATH-1301
> URL: https://issues.apache.org/jira/browse/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
(v6.3.4#6332)