pragdave / quixir

Property-based testing for Elixir
266 stars 11 forks source link

list() does not respect max: 1 #9

Closed schnittchen closed 7 years ago

schnittchen commented 7 years ago
import Pollution.{Generator, VG}
list(of: bool, max: 1) |> as_stream|> Enum.take(10) |> IO.inspect

shows here

[[], [false, false], [true], [true, false], [true]]
schnittchen commented 7 years ago

Oh my, wrong repo :(