blob: e1598cb422063e64012b71b728d86e1f96f1fcb3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef INC_TEST_LIB_COLOR_H
#define INC_TEST_LIB_COLOR_H
#include <test/__meta__.h>
#ifndef TEST_RESULT
#define TEST_RESULT(subtest, result, n, n_success) \
_TEST_RESULT("LIB/COLOR", subtest, result, n, n_success)
#endif
#include <lib/color.h>
#include <lib/data/image_types.h>
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();
#endif
|