@Test
public void testBuildFloat() {

    assertThat(ParserHelper.buildFloat(0, 0), is(0.0f));
    assertThat(ParserHelper.buildFloat(1, 129), is(Float.POSITIVE_INFINITY));
    assertThat(ParserHelper.buildFloat(-1, 128), is(Float.NEGATIVE_INFINITY));
    assertThat(ParserHelper.buildFloat(1, 0), is(1f));
    assertThat(ParserHelper.buildFloat(1, 2), is(100f));
    assertThat(ParserHelper.buildFloat(100000000, 1), is(1.0E9F));
}