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

Arb.bigInt always returns 0 #2013

Closed
NikolayMetchev opened this issue Jan 21, 2021 · 0 comments · Fixed by #2014
Closed

Arb.bigInt always returns 0 #2013

NikolayMetchev opened this issue Jan 21, 2021 · 0 comments · Fixed by #2014
Labels
bug 🐛 Issues that report a problem or error in the code. good-first-issue 👶 Suitable for newcomers looking to contribute to the project. property-testing 📏 Related to the property testing mechanisms within the testing framework.
Milestone

Comments

@NikolayMetchev
Copy link

Which version of Kotest are you using
4.3.2

The loop on this line isn't changing the bigInt variable.

fun Arb.Companion.bigInt(maxNumBits: Int): Arb<BigInteger> {

@LeoColman LeoColman added bug 🐛 Issues that report a problem or error in the code. good-first-issue 👶 Suitable for newcomers looking to contribute to the project. property-testing 📏 Related to the property testing mechanisms within the testing framework. labels Jan 21, 2021
LeoColman added a commit that referenced this issue Jan 22, 2021
@sksamuel sksamuel added this to the 4.4 milestone Jan 22, 2021
@sksamuel sksamuel mentioned this issue Jan 22, 2021
43 tasks
LeoColman added a commit that referenced this issue Jan 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Issues that report a problem or error in the code. good-first-issue 👶 Suitable for newcomers looking to contribute to the project. property-testing 📏 Related to the property testing mechanisms within the testing framework.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants