svoid test_tempSetCustomRandomizerForThisThread() { repeat 2 { { temp tempSetCustomRandomizerForThisThread(predictableRandom()); assertEqualsVerbose(60, random(100)); assertEqualsVerbose(48, random(100)); } // check that we're back to the default randomizer assertEquals(ThreadLocalRandom.current(), defaultRandomizer()); } }