RNG-163: Replace JUnit 4 Assert with JUnit 5 Assertions
authorAlex Herbert <aherbert@apache.org>
Sun, 15 Aug 2021 12:55:25 +0000 (13:55 +0100)
committerAlex Herbert <aherbert@apache.org>
Mon, 16 Aug 2021 22:25:38 +0000 (23:25 +0100)
commit07a6dc916a5ab71cc583727c43517cb668c81ad7
treebfa827629c85d6df6787b48fe8de9f6e2b74e62e
parent6663901584fc1eafb1f125361f2be707c6f68578
RNG-163: Replace JUnit 4 Assert with JUnit 5 Assertions

Tests for float equality with a delta of 0.0 have been updated to remove the delta.

Replace JUnit 4 Assume with JUnit 5 Assumptions
71 files changed:
commons-rng-core/src/test/java/org/apache/commons/rng/core/BaseProviderTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/JumpableProvidersParametricTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/ProvidersCommonParametricTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/RandomAssert.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/RandomProviderDefaultStateTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source32/IntProviderTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source32/JDKRandomTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source32/MersenneTwisterTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source32/MiddleSquareWeylSequenceTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source64/LongProviderTest.java
commons-rng-core/src/test/java/org/apache/commons/rng/core/source64/MersenneTwister64Test.java
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-examples/examples-stress/src/test/java/org/apache/commons/rng/examples/stress/HexTest.java
commons-rng-examples/examples-stress/src/test/java/org/apache/commons/rng/examples/stress/RngDataOutputTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/CollectionSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/CombinationSamplerTest.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/DiscreteProbabilityCollectionSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/ListSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/PermutationSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/RandomAssert.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/UnitSphereSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/AhrensDieterExponentialSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/AhrensDieterMarsagliaTsangGammaSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/AliasMethodDiscreteSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/ChengBetaSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/ContinuousSamplerParametricTest.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/DirichletSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/DiscreteSamplerParametricTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/DiscreteUniformSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/GeometricSamplerTest.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/distribution/InternalUtilsTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/KempSmallMeanPoissonSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/LargeMeanPoissonSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/LevySamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/MarsagliaNormalisedGaussianSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/MarsagliaTsangWangDiscreteSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/PoissonSamplerCacheTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/PoissonSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/SamplerBaseTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/SmallMeanPoissonSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/StableSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/UniformLongSamplerTest.java
commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/ZigguratSamplerTest.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-sampling/src/test/java/org/apache/commons/rng/sampling/shape/UnitBallSamplerTest.java
commons-rng-simple/src/test/java/org/apache/commons/rng/simple/JDKRandomBridgeTest.java
commons-rng-simple/src/test/java/org/apache/commons/rng/simple/JDKRandomWrapperTest.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/RandomAssert.java
commons-rng-simple/src/test/java/org/apache/commons/rng/simple/RandomSourceTest.java
commons-rng-simple/src/test/java/org/apache/commons/rng/simple/ThreadLocalRandomSourceTest.java
commons-rng-simple/src/test/java/org/apache/commons/rng/simple/internal/ByteArray2IntArrayTest.java
commons-rng-simple/src/test/java/org/apache/commons/rng/simple/internal/ByteArray2LongArrayTest.java
commons-rng-simple/src/test/java/org/apache/commons/rng/simple/internal/IntArray2LongArrayTest.java
commons-rng-simple/src/test/java/org/apache/commons/rng/simple/internal/Long2IntArrayTest.java
commons-rng-simple/src/test/java/org/apache/commons/rng/simple/internal/Long2LongArrayTest.java
commons-rng-simple/src/test/java/org/apache/commons/rng/simple/internal/NativeSeedTypeParametricTest.java
commons-rng-simple/src/test/java/org/apache/commons/rng/simple/internal/NativeSeedTypeTest.java
commons-rng-simple/src/test/java/org/apache/commons/rng/simple/internal/NoOpConverterTest.java
commons-rng-simple/src/test/java/org/apache/commons/rng/simple/internal/RandomSourceInternalParametricTest.java
commons-rng-simple/src/test/java/org/apache/commons/rng/simple/internal/SeedConverterComposerTest.java
commons-rng-simple/src/test/java/org/apache/commons/rng/simple/internal/SeedFactoryTest.java
commons-rng-simple/src/test/java/org/apache/commons/rng/simple/internal/SeedUtilsTest.java