aboutsummaryrefslogtreecommitdiff
path: root/include/test/lib/color.h
blob: be0d62f4473561bb32544fa8712b97b08ded8b71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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>

bool_t test_color_zero(const uint8_t* color1, size_t channels, bool_t result);
bool_t test_color_equal(const uint8_t* color1, const uint8_t* color2, size_t channels, bool_t result);

// Meta test function
bool_t TEST_lib_color();

#endif