@Test
public void convertFloatToFloat() throws ParserException {

    Object converted = SchemaValueConverter.convert(Schema.Type.FLOAT, Float.MAX_VALUE);
    Assert.assertTrue(Schema.Type.FLOAT.valueOfSameType(converted));
    Assert.assertEquals(Float.MAX_VALUE, (float) converted, 0.00001);
    converted = SchemaValueConverter.convert(Schema.Type.FLOAT, Float.MIN_VALUE);
    Assert.assertTrue(Schema.Type.FLOAT.valueOfSameType(converted));
    Assert.assertEquals(Float.MIN_VALUE, (float) converted, 0.00001);
}