Get rid of warning about converting long to float
authorFelix Schumacher <felix.schumacher@internetallee.de>
Mon, 18 Apr 2022 14:42:41 +0000 (16:42 +0200)
committerFelix Schumacher <felix.schumacher@internetallee.de>
Mon, 18 Apr 2022 15:38:47 +0000 (17:38 +0200)
commit1527a8fcb1c96b2270d215775687443dfadc480d
treedac309e3e1ce88000e5bf1cae2a5857ca0d498f2
parentb351b6df75b49605013f2fdabb8f52faf727f71f
Get rid of warning about converting long to float

by introducing a new private assertion method.
While we are here, convert to junit5 and add another assertion method
to check vor valid range.
src/components/src/test/java/org/apache/jmeter/timers/ConstantThroughputTimerTest.java
src/core/src/test/java/org/apache/jmeter/samplers/TestSampleResult.java