Line |
Branch |
Exec |
Source |
1 |
|
|
/* |
2 |
|
|
* Filename: /workspaces/our_rpg/tests/library/ECS/world_constructor_tests.c |
3 |
|
|
* Path: /workspaces/our_rpg/tests/library/ECS |
4 |
|
|
* Created Date: Monday, January 2nd 2023, 2:38:37 pm |
5 |
|
|
* Author: osvegn |
6 |
|
|
* |
7 |
|
|
* Copyright (c) 2023 our_rpg |
8 |
|
|
*/ |
9 |
|
|
|
10 |
|
|
#include <criterion/criterion.h> |
11 |
|
|
#include "world.h" |
12 |
|
|
|
13 |
|
✗ |
Test(world_constructor, world_constructor) |
14 |
|
|
{ |
15 |
|
|
world_t world; |
16 |
|
|
|
17 |
|
✗ |
cr_assert_eq(world_constructor(&world, stdout), 0); |
18 |
|
✗ |
world_destructor(&world); |
19 |
|
|
} |
20 |
|
|
|