Commit graph

34 commits

Author SHA1 Message Date
Dag-Erling Smørgrav
4b58b4115c Ex 25: Implement pelletClosestToPacman(). 2021-10-19 15:32:01 +02:00
Dag-Erling Smørgrav
980a26587d Ex 25: Enable AI tests. 2021-10-19 10:50:21 +02:00
Dag-Erling Smørgrav
dde8996131 Ex 15: Add unit tests for isWall(). 2021-10-19 10:50:21 +02:00
Patricia Aas
172f3d8c60 Use upper case PacMan when noun 2021-10-05 16:15:41 +02:00
Corentin Jabot
a835774f5a Remove part of the AI implementation 2021-10-05 15:46:16 +02:00
Patricia Aas
1188d26e9a Tweak text 2021-10-05 15:30:50 +02:00
Corentin Jabot
df118c1c0f Add direction tests 2021-10-05 15:06:20 +02:00
Corentin Jabot
4a20eecf91 Fix bug 2021-10-05 14:04:08 +02:00
Corentin Jabot
c6d13a046a Add some AI tests 2021-10-05 13:43:08 +02:00
Corentin Jabot
d5379872ce Cleanup AI code 2021-10-05 12:11:29 +02:00
Patricia Aas
61fd3bb5c0 Remove disabled test 2021-10-05 10:41:21 +02:00
Patricia Aas
88f81cd0ae Move Clyde to the solution folder for day 1 ghost exercise 2021-10-05 09:46:29 +02:00
Ó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