We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In #670, @non introduced two methods that return Gens with a provided scale:
Gen
def chooseBigDecimalScale(minScale: Int): Choose[BigDecimal] def chooseJavaBigDecimalScale(minScale: Int): Choose[JavaDecimal]
Both of them are private. We should consider making them public.
private
The text was updated successfully, but these errors were encountered:
Also documntation states:
The implicit instance fixes this value, but since users may want to use other scales we expose this method as well.
but method is not exposed.
As a workaround I think .setScale on a generated BigDecimal should do the trick.
.setScale
BigDecimal
Sorry, something went wrong.
No branches or pull requests
In #670, @non introduced two methods that return
Gen
s with a provided scale:Both of them are
private
. We should consider making them public.The text was updated successfully, but these errors were encountered: