RNG-163: Replace try-catch with assertThrows
authorAlex Herbert <aherbert@apache.org>
Sun, 15 Aug 2021 21:37:01 +0000 (22:37 +0100)
committerAlex Herbert <aherbert@apache.org>
Mon, 16 Aug 2021 22:45:03 +0000 (23:45 +0100)
commit551ecefb3d427487aa3b15a784b67c354ab37713
tree9f83fa5156829888e78b5bc29bcafbd087f19190
parentca203fcfcf09fca695b29b5ea90d135a103bffab
RNG-163: Replace try-catch with assertThrows
12 files changed:
commons-rng-core/src/test/java/org/apache/commons/rng/core/source64/TwoCmresTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/util/NumberFactoryTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/CompositeSamplersTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/ContinuousUniformSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/GuideTableDiscreteSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/shape/BoxSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/shape/CoordinatesTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/shape/LineSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/shape/TetrahedronSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/shape/TriangleSamplerTest.java
commons-rng-simple/src/test/java/org/apache/commons/rng/simple/ProvidersCommonParametricTest.java
commons-rng-simple/src/test/java/org/apache/commons/rng/simple/internal/RandomSourceInternalParametricTest.java