Commit graph

22 commits

Author SHA1 Message Date
Ólafur Waage
3a02ae2316 Adding board unit tests. 2021-09-28 14:34:48 +02:00
Ólafur Waage
1c05f500b0 Refactoring ghost's target and update to no longer require *this. They each have their own target function which sets a target variable within Ghost. 2021-09-23 14:57:53 +02:00
Ólafur Waage
125c55f176 Adding pellet test and renaming helpers. 2021-09-21 16:34:26 +02:00
Ólafur Waage
cd86d91310 Adding unit tests for fruits. Also some minor cleanup. 2021-09-15 14:40:07 +02:00
Corentin Jabot
d49e1efbc1 Replace gtest by catch 2021-09-11 17:10:12 +02:00
Corentin Jabot
4b364bdda8 Enable tests on CI 2021-09-10 15:55:59 +02:00
Ólafur Waage
030c82d1bc Formatting changes. 2021-09-10 13:57:01 +02:00
Ólafur Waage
b3e63d766a Removing const from non reference argument 2021-09-10 10:54:44 +02:00
Ólafur Waage
1ad8a1ec8e Adding simple deterministic fuzz test for GameState. 2021-09-09 11:15:31 +02:00
Ólafur Waage
55fbb53591 Refactoring Game and GameState. Moving game state update logic into that class. Game is now only event loop. 2021-09-07 16:00:19 +02:00
Ólafur Waage
ee4b216056 Adding ghost dead test. 2021-09-07 15:30:48 +02:00
Ólafur Waage
cbe5798590 Adding a couple of Ghost tests. 2021-09-07 11:25:45 +02:00
Ólafur Waage
00bfd15074 Adding epsilon test for Position. Also adding tests for GridPosition and Position. 2021-09-06 16:24:30 +02:00
Ólafur Waage
4c47509d1b Cleanup of how tests are discovered. Prefix not needed or used. 2021-09-06 16:00:48 +02:00
Ólafur Waage
27517cdfa6 Seperating test files from the main test cpp file. 2021-09-06 15:54:19 +02:00
Patricia Aas
98c223933f Fix test aswell 2021-07-07 11:40:23 +02:00
Patricia Aas
3c638c057e No need to pass Board around 2021-07-07 11:39:09 +02:00
Corentin Jabot
60095363f4 Put the code in a namespace 2021-07-05 14:10:01 +02:00
Patricia Aas
dff44bcfed Fix test 2021-07-02 14:47:52 +02:00
Patricia Aas
f51b7d65e0 Reformat and add a gitignore 2021-06-22 13:17:12 +02:00
Patricia Aas
9644229061 Give function a shorter name to fit on a slide :) 2021-06-10 14:26:03 +02:00
Corentin Jabot
164db664ef Use VCPKG and reorganization
* Remove non-pacman exercises.
* Use vcpkg instead of conan ( make vcpkg a submodule)
* Merge the readmem these will need to be improve later
2021-05-10 14:58:00 +02:00