summaryrefslogtreecommitdiff
path: root/test/painter/color.c
diff options
context:
space:
mode:
authorpacien2018-01-09 16:14:18 +0100
committerpacien2018-01-09 16:14:18 +0100
commit38195a70192301e7df5b69bf2266a04a0b90a532 (patch)
tree2ad004884b1d5348e7b0812e514293eda3cd7d66 /test/painter/color.c
parent76cb6ee14cb72eba8df8112604d9c2e8598d2448 (diff)
downloadmorpher-38195a70192301e7df5b69bf2266a04a0b90a532.tar.gz
Update report, add authorship to C filesHEADmaster
Signed-off-by: pacien <pacien.trangirard@pacien.net>
Diffstat (limited to 'test/painter/color.c')
-rw-r--r--test/painter/color.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/painter/color.c b/test/painter/color.c
index bdfe9b3..b1b1501 100644
--- a/test/painter/color.c
+++ b/test/painter/color.c
@@ -1,6 +1,13 @@
1#include "painter/color.h" 1#include "painter/color.h"
2#include <assert.h> 2#include <assert.h>
3 3
4/**
5 * File: color.c
6 *
7 * Author:
8 * Pacien TRAN-GIRARD
9 */
10
4static void test_color_blend() { 11static void test_color_blend() {
5 Color a = {{1, 10, 100, 200}}, b = {{100, 1, 200, 10}}; 12 Color a = {{1, 10, 100, 200}}, b = {{100, 1, 200, 10}};
6 assert(color_equals(color_blend(a, b, TIME_ORIGIN), a)); 13 assert(color_equals(color_blend(a, b, TIME_ORIGIN), a));