japgolly / nyaya

Random Data Generation and/or Property Testing in Scala & Scala.JS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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