Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gen.sequence ignores size of given Traversable #483

Open
unoexperto opened this issue Jun 29, 2019 · 0 comments
Open

Gen.sequence ignores size of given Traversable #483

unoexperto opened this issue Jun 29, 2019 · 0 comments

Comments

@unoexperto
Copy link

Gen.sequence seems to be ignoring size of given Traversable. Is that by design? I'm using version 1.14.0 with Scala 2.13. Following generator

Gen.sequence[List[Int], Int](List.fill(3)(Gen.const(5)))

sometimes generates List of size 1. Why ? @rickynils

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant