@Test
public void shouldCorrectlyWriteFloatValues() {

    assertSame("10.01", writer.write(10.01));
    assertSame("0.0", writer.write(0.0));
    assertSame("-1.0135", writer.write(-1.0135));
    assertSame(Float.toString(Float.MAX_VALUE), writer.write(Float.MAX_VALUE));
    assertSame(Float.toString(Float.MIN_VALUE), writer.write(Float.MIN_VALUE));
}