aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_node.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-09-01 10:07:01 -0400
committerDavid Robillard <d@drobilla.net>2024-09-01 10:07:01 -0400
commit762dbf2bd8d22230ac40136d7f1c749a46c60d7b (patch)
treec52a34e2ecb5c0de56fde4abd9c6366514ab26f6 /test/test_node.c
parentebe0b8697bca69abb7e7be1c731da4d54b10e462 (diff)
downloadserd-762dbf2bd8d22230ac40136d7f1c749a46c60d7b.tar.gz
serd-762dbf2bd8d22230ac40136d7f1c749a46c60d7b.tar.bz2
serd-762dbf2bd8d22230ac40136d7f1c749a46c60d7b.zip
Use a consistent naming scheme for test helper functions
Diffstat (limited to 'test/test_node.c')
-rw-r--r--test/test_node.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_node.c b/test/test_node.c
index af14171b..09e9dfff 100644
--- a/test/test_node.c
+++ b/test/test_node.c
@@ -24,7 +24,7 @@
#endif
static void
-test_strtod(double dbl, double max_delta)
+check_strtod(double dbl, double max_delta)
{
char buf[1024];
snprintf(buf, sizeof(buf), "%f", dbl);
@@ -56,7 +56,7 @@ test_string_to_double(void)
const double delta = fabs(num - expt_test_nums[i]);
assert(delta <= DBL_EPSILON);
- test_strtod(expt_test_nums[i], DBL_EPSILON);
+ check_strtod(expt_test_nums[i], DBL_EPSILON);
}
}