The org.decimal4j.util.DoubleRounderTest class has a bug and can never fail. As a result ArithmeticResult class only asserts if thrown exceptions are different.
The cause of the bug is that the two ArithmeticResult instances that should compare expected and actual values are bothcreated using the original double value rather than the rounded values the test calculates.
The org.decimal4j.util.DoubleRounderTest class has a bug and can never fail. As a result ArithmeticResult class only asserts if thrown exceptions are different.
The cause of the bug is that the two ArithmeticResult instances that should compare expected and actual values are both created using the original double value rather than the rounded values the test calculates.