Gen.setSeed * samples = not expected
japgolly opened this issue · comments
scala> Gen.setSeed(0).flatMap(_ ⇒ Gen.int).samples().take(2).toVector
res0: Vector[Int] = Vector(-1155484576, -1155484576)
Fixed in 07ed437
Random Data Generation and/or Property Testing in Scala & Scala.JS.
japgolly opened this issue · comments
scala> Gen.setSeed(0).flatMap(_ ⇒ Gen.int).samples().take(2).toVector
res0: Vector[Int] = Vector(-1155484576, -1155484576)
Fixed in 07ed437