Skip to content
This repository has been archived by the owner on Aug 24, 2021. It is now read-only.

Commit

Permalink
Prints number of iteration and seed
Browse files Browse the repository at this point in the history
Resolves #17
  • Loading branch information
jcornaz committed May 18, 2019
1 parent 272e381 commit ce611d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/src/commonMain/kotlin/com/github/jcornaz/kwik/Runner.kt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ fun <A> checkForAll(
) {
require(iterations > 0) { "Iterations must be > 0, but was: $iterations" }

println("Iterations: $iterations")
println("Seed: $seed")

generator.randoms(seed)
.take(iterations)
.forEach(property)
Expand Down

0 comments on commit ce611d6

Please sign in to comment.