diff options
Diffstat (limited to 'tests/write_tests.c')
-rw-r--r-- | tests/write_tests.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/write_tests.c b/tests/write_tests.c index da5ee89c..ed555f60 100644 --- a/tests/write_tests.c +++ b/tests/write_tests.c @@ -4,14 +4,14 @@ START_TEST (test_encode_can_signal) { - uint64_t value = encodeFloat(0, 1, 3, 1, 0); + uint64_t value = bitfield_encode_float(0, 1, 3, 1, 0); ck_assert_int_eq(value, 0); } END_TEST START_TEST (test_encode_can_signal_rounding_precision) { - uint64_t value = encodeFloat(50, 2, 19, 0.001, 0); + uint64_t value = bitfield_encode_float(50, 2, 19, 0.001, 0); ck_assert_int_eq(value, 0x061a800000000000LLU); } END_TEST |