summaryrefslogtreecommitdiffstats
path: root/tests/write_tests.c
diff options
context:
space:
mode:
authorChristopher Peplin <chris.peplin@rhubarbtech.com>2013-12-29 11:55:35 -0500
committerChristopher Peplin <chris.peplin@rhubarbtech.com>2013-12-29 12:00:52 -0500
commitc2c7ef1dfe4cae6b5831ffab0ce5780b27e0c25e (patch)
treed490768ad2effe746406c60419aae905cfeead83 /tests/write_tests.c
parent6ce03a4f1b229e605da08b073fad6f7c0fe8bf10 (diff)
Standardize on snake_case naming as this is a C library.
Diffstat (limited to 'tests/write_tests.c')
-rw-r--r--tests/write_tests.c4
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