From c2c7ef1dfe4cae6b5831ffab0ce5780b27e0c25e Mon Sep 17 00:00:00 2001 From: Christopher Peplin Date: Sun, 29 Dec 2013 11:55:35 -0500 Subject: Standardize on snake_case naming as this is a C library. --- tests/write_tests.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/write_tests.c') 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 -- cgit 1.2.3-korg