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
Quantity.subtract(…)
Quantity.NONE
assertThat(Quantity.NONE.subtract(Quantity.of(5))).isEqualTo(Quantity.of(-5)); fails. Workaround: use Quantity.of(0) rather than Quantity.NONE.
assertThat(Quantity.NONE.subtract(Quantity.of(5))).isEqualTo(Quantity.of(-5));
Quantity.of(0)
The text was updated successfully, but these errors were encountered:
#368 - Fix substracting values from Quantity.NONE.
197d1ee
odrotbohm
No branches or pull requests
assertThat(Quantity.NONE.subtract(Quantity.of(5))).isEqualTo(Quantity.of(-5));
fails. Workaround: useQuantity.of(0)
rather thanQuantity.NONE
.The text was updated successfully, but these errors were encountered: