logo       

Re: assertEquals("NaN", x, y, 0.0) where x=y=Double.NaN: msg#00159

java.junit.user

Subject: Re: assertEquals("NaN", x, y, 0.0) where x=y=Double.NaN

--- In junit@xxxx, "Morten Grum, PH-Consult" <mg@xxxx> wrote:
> Hi
>
> x and y are both simple double.
>
> Oughtn't assertEquals("x and y", x, y, 0.0) succeed when both x and
y are
> Double.NaN?

Can you submit a patch to sourceforge that contains a test for the
behavior you're looking for?

Kent




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise