From 66cb6edb7243daba4d1d17893477e494373dcb5e Mon Sep 17 00:00:00 2001 From: "Le-Bao-Tin.Ha" <le-bao-tin.ha@insa-rennes.fr> Date: Thu, 18 Mar 2021 15:36:56 +0100 Subject: [PATCH] Delete test_personnage.h --- GAME/include/test_personnage.h | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 GAME/include/test_personnage.h diff --git a/GAME/include/test_personnage.h b/GAME/include/test_personnage.h deleted file mode 100644 index 66c50a4..0000000 --- a/GAME/include/test_personnage.h +++ /dev/null @@ -1,34 +0,0 @@ -/* -// Created by Tiny on 3/14/2021. -*/ - -#ifndef INSAGAME_TEST_PERSONNAGE_H -#define INSAGAME_TEST_PERSONNAGE_H - -#include <gtest/gtest.h> -extern "C"{ -#include "personnage.h" -} - -TEST(test_init_personnage,values_3_3_3_3_3_testimage){ - Personnage person; - init_pers(&person,3,3,3,3,3,"testimage"); - EXPECT_EQ(3,person.x_pers); - EXPECT_EQ(3,person.y_pers); - EXPECT_EQ(3,person.long_pers); - EXPECT_EQ(3,person.larg_pers); - EXPECT_STREQ("testimage",person.image_pers); -} -TEST(test_calcul_point,values_3_3){ - Personnage person; - init_pers(&person,3,3,3,3,3,"testimage"); - calcul_points_pers(&person); - EXPECT_EQ(6,person.x_hr); - EXPECT_EQ(3,person.y_hr); - EXPECT_EQ(3,person.x_ll); - EXPECT_EQ(6,person.y_ll); - EXPECT_EQ(6,person.x_lr); - EXPECT_EQ(6,person.y_lr); - -} -#endif /*INSAGAME_TEST_PERSONNAGE_H*/ -- GitLab