public void testFloatConversions() throws Exception
{
JMSStreamMessage bm = TestMessageHelper.newJMSStreamMessage();
bm.writeFloat(6.2f);
bm.reset();
assertEquals(6.2d, bm.readDouble(), 0.01);
bm.reset();
assertEquals("6.2", bm.readString());
bm.reset();
checkConversionsFail(bm, new int[]{0, 1, 2, 3, 4, 5, 9});