Dmitry Kandalov
01/04/2019, 5:46 PMkotlin.random.Random
? I want to use Random
in a test with random seed which I could print in case the test fails.orangy
Dmitry Kandalov
01/04/2019, 6:40 PMRandom(seed)
function. So I guess the answer is “no”.marcinmoskala
01/07/2019, 2:00 PMRandom
constructor and always set your own seed or store one that was set.
https://mockk.io/#constructor-mocksmarcinmoskala
01/07/2019, 2:02 PMDmitry Kandalov
01/07/2019, 11:54 PMval random = Random(seed = Random.nextInt().printed("seed="))