vincent-hugot / qtest

Inline (Unit) Tests for OCaml
GNU General Public License v3.0
67 stars 8 forks source link

use an explicit random state for generators #17

Closed c-cube closed 10 years ago

c-cube commented 10 years ago

I don't know how to actually test it (how ironic...). I've changed the type of random generators so that they take a Random.State.t as parameter (since both @gasche 's generators, and my own ones, have this type). More combinators should follow, if you accept this patch.

vincent-hugot commented 10 years ago

Thanks!