diff options
author | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-01-03 23:45:40 -0500 |
---|---|---|
committer | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-01-03 23:45:40 -0500 |
commit | 6f3a81ed8287357b54aad16bff27495c6eaca6df (patch) | |
tree | fe043dcd9fa5d96895509c42d229840c29334043 /tests/read_tests.c | |
parent | 921b43ea8aaa377a42a11cede653165ec84d8aa4 (diff) |
Checkpoint commit renaming some functions for clarity.
Diffstat (limited to 'tests/read_tests.c')
-rw-r--r-- | tests/read_tests.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/read_tests.c b/tests/read_tests.c index 71b0ab65..1cde4612 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 = bitfield_parse_float(BIG_ENDIAN_TEST_DATA, 2, 4, 1001.0, + float result = eightbyte_parse_float(BIG_ENDIAN_TEST_DATA, 2, 4, 1001.0, -30000.0); float correctResult = 0xA * 1001.0 - 30000.0; fail_unless(result == correctResult, @@ -16,7 +16,7 @@ END_TEST START_TEST (test_parse_bool) { - float result = bitfield_parse_bool(BIG_ENDIAN_TEST_DATA, 0, 1, 1.0, 0); + float result = eightbyte_parse_bool(BIG_ENDIAN_TEST_DATA, 0, 1, 1.0, 0); float correctResult = true; fail_unless(result == correctResult, "parse is incorrect: %d but should be %d", result, correctResult); |