This is the mail archive of the mauve-discuss@sources.redhat.com mailing list for the Mauve project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
c:\mauve-snapshot-2000-06-17>echo gnu.testlet.java.lang.Float.FloatTest|java gnu.testlet.SimpleTestHarness
gnu.testlet.java.lang.Float.FloatTest
FAIL: gnu.testlet.java.lang.Float.FloatTest: Error: test_toString failed - 10 (number 1)
1 of 68 tests failed
when I run FloatTest, one test case fails which is
str = Float.toString( 0.001f );
harness.check(!( !Float.toString( 0.001f ).equals ("0.001" )),
"Error: test_toString failed - 10" );
it returns 0.0010, not 0.001.
When I passed Float.toString( 0.01f ), it returns 0.01.
Does anybody think it is a bug, or something else.
Thanks.
Sharon
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |