diff options
Diffstat (limited to 'tests/read_tests.c')
-rw-r--r-- | tests/read_tests.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/read_tests.c b/tests/read_tests.c index f5f0f0c3..62ced1f9 100644 --- a/tests/read_tests.c +++ b/tests/read_tests.c @@ -6,7 +6,7 @@ const uint64_t BIG_ENDIAN_TEST_DATA = __builtin_bswap64(0xEB00000000000000); START_TEST (test_parse_float) { - float result = parseFloat(BIG_ENDIAN_TEST_DATA, 2, 4, 1001.0, -30000.0); + float result = bitfield_parse_float(BIG_ENDIAN_TEST_DATA, 2, 4, 1001.0, -30000.0); float correctResult = 0xA * 1001.0 - 30000.0; fail_unless(result == correctResult, "parse is incorrect: %f but should be %f", result, correctResult); |