summaryrefslogtreecommitdiffstats
path: root/tests/read_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/read_tests.c
parent6ce03a4f1b229e605da08b073fad6f7c0fe8bf10 (diff)
Standardize on snake_case naming as this is a C library.
Diffstat (limited to 'tests/read_tests.c')
-rw-r--r--tests/read_tests.c2
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);