From c60164953dd6a4ee485c42211a3bcf8ee9eba06f Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Wed, 20 Dec 2017 14:38:14 +0000 Subject: Fixed license headers --- tests/structtest.cpp | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'tests/structtest.cpp') diff --git a/tests/structtest.cpp b/tests/structtest.cpp index 13a2c591..99752abb 100644 --- a/tests/structtest.cpp +++ b/tests/structtest.cpp @@ -1,8 +1,16 @@ -#include +/** --------------------------------------------------------------------------- + * @file: structtest.cpp + * + * Copyright (c) 2017 Yann Herklotz Grave + * MIT License, see LICENSE file for more details. + * ---------------------------------------------------------------------------- + */ + #include +#include -#include #include +#include TEST(StructTest, ColourDefault) { @@ -15,7 +23,7 @@ TEST(StructTest, ColourDefault) TEST(StructTest, ColourConstructor) { - int r = rand()%255, g = rand()%255, b = rand() % 255, a = rand() % 255; + int r = rand() % 255, g = rand() % 255, b = rand() % 255, a = rand() % 255; yage::Colour c(r, g, b, a); ASSERT_EQ(c.r, r); -- cgit