From a18cea2fef7aa1545c9a984b60919541b26a6f84 Mon Sep 17 00:00:00 2001 From: Christian C Date: Tue, 1 Apr 2025 17:38:32 -0700 Subject: Clang Format --- include/test/lib/color.h | 9 ++++++--- include/test/lib/dir.h | 9 +++++---- include/test/lib/time.h | 6 ++++-- 3 files changed, 15 insertions(+), 9 deletions(-) (limited to 'include/test/lib') diff --git a/include/test/lib/color.h b/include/test/lib/color.h index 2e9b863..e1598cb 100644 --- a/include/test/lib/color.h +++ b/include/test/lib/color.h @@ -3,14 +3,17 @@ #include #ifndef TEST_RESULT -#define TEST_RESULT(subtest,result,n,n_success) _TEST_RESULT("LIB/COLOR",subtest,result,n,n_success) +#define TEST_RESULT(subtest, result, n, n_success) \ + _TEST_RESULT("LIB/COLOR", subtest, result, n, n_success) #endif #include #include -bool_t test_color_zero(const ImageData_t* color1, size_t channels, bool_t result); -bool_t test_color_equal(const ImageData_t* color1, const ImageData_t* color2, size_t channels, bool_t result); +bool_t test_color_zero(const ImageData_t *color1, size_t channels, + bool_t result); +bool_t test_color_equal(const ImageData_t *color1, const ImageData_t *color2, + size_t channels, bool_t result); // Meta test function bool_t TEST_lib_color(); diff --git a/include/test/lib/dir.h b/include/test/lib/dir.h index 64482df..6d46267 100644 --- a/include/test/lib/dir.h +++ b/include/test/lib/dir.h @@ -3,14 +3,15 @@ #include #ifndef TEST_RESULT -#define TEST_RESULT(subtest,result,n,n_success) _TEST_RESULT("LIB/DIR",subtest,result,n,n_success) +#define TEST_RESULT(subtest, result, n, n_success) \ + _TEST_RESULT("LIB/DIR", subtest, result, n, n_success) #endif #include -bool_t test_is_directory(char* dirname, bool_t result); -bool_t test_full_path(char* dirname, char* file, char* result); -bool_t test_is_tif_ext(char* file_name, bool_t result); +bool_t test_is_directory(char *dirname, bool_t result); +bool_t test_full_path(char *dirname, char *file, char *result); +bool_t test_is_tif_ext(char *file_name, bool_t result); // Meta test function bool_t TEST_lib_dir(); diff --git a/include/test/lib/time.h b/include/test/lib/time.h index cdf464e..d242c65 100644 --- a/include/test/lib/time.h +++ b/include/test/lib/time.h @@ -3,12 +3,14 @@ #include #ifndef TEST_RESULT -#define TEST_RESULT(subtest,result,n,n_success) _TEST_RESULT("LIB/TIME",subtest,result,n,n_success) +#define TEST_RESULT(subtest, result, n, n_success) \ + _TEST_RESULT("LIB/TIME", subtest, result, n, n_success) #endif #include -bool_t test_diff_time(const struct timespec *time1, const struct timespec *time0, double result); +bool_t test_diff_time(const struct timespec *time1, + const struct timespec *time0, double result); // Meta test function bool_t TEST_lib_time(); -- cgit v1.2.1