On Thu, 13 Dec 2018 11:39:05 -0800, Eric Barnhill wrote:
For the line:
Assert.assertFalse(zero.equals(Double.valueOf(0)));
What is it testing?
Conceptually, I'd expect "assertTrue" (zero as a fraction
is equal to zero as a double).
Eclipse is producing a warning:
"Unlikely argument type fo
For the line:
Assert.assertFalse(zero.equals(Double.valueOf(0)));
Eclipse is producing a warning:
"Unlikely argument type for equals(): Double seems to be unrelated to
Fraction"
Does anyone have a suggestion for how to handle this warning, thank you.
Eric