@Test
public void testsetFloat() throws Exception {

    //given
    final float f0 = 0x45678901;
    final float f1 = 0x12345678;
    final Pointer<Float> floatPointer = Pointer.nref(f0,
                                                     f1);
    //then
    assertThat(JNITestUtil.getFloat(floatPointer.address)).isEqualTo(f0);
    assertThat(JNITestUtil.getFloat(floatPointer.address + 4)).isEqualTo(f1);
}