Coverage report for ai


src/
File: src/environment/Tile.cpp
Date: 2024-06-25 10:57:00
Lines:
10/10
100.0%
Functions:
3/3
100.0%
Branches:
1/2
50.0%

Line Branch Exec Source
1 /*
2 ** EPITECH PROJECT, 2024
3 ** zappy/ai
4 ** File description:
5 ** Tile.cpp
6 */
7
8 #include "Tile.hpp"
9
10 4 Tile::Tile()
11 {
12 4 }
13
14 1 Tile::Tile(int x, int y, unsigned int distance, Ressources ressources)
15 {
16 1 this->x = x;
17 1 this->y = y;
18 1 this->distance = distance;
19
1/2
✓ Branch 1 taken 1 times.
✗ Branch 2 not taken.
1 this->ressources = ressources;
20 1 }
21
22 10 Tile::~Tile()
23 {
24 10 }
25