Update README.md
This commit is contained in:
parent
72f14bcc96
commit
d3d786bbc0
1 changed files with 6 additions and 0 deletions
|
@ -58,6 +58,12 @@ and return true if the first parameter is closer from PacMan than the second.
|
||||||
Implement [PacManAI::isValidMove](../../../lib/PacManAI.cpp) and test your implementation with the test
|
Implement [PacManAI::isValidMove](../../../lib/PacManAI.cpp) and test your implementation with the test
|
||||||
in [testPacmanAI.cpp](../../../test/testPacmanAI.cpp) called _"Is valid move"_
|
in [testPacmanAI.cpp](../../../test/testPacmanAI.cpp) called _"Is valid move"_
|
||||||
|
|
||||||
|
To run the tests through CMake change the last line in test/CMakeLists.txt to:
|
||||||
|
|
||||||
|
```
|
||||||
|
add_test(NAME pacman_tests COMMAND pacman_tests)
|
||||||
|
```
|
||||||
|
|
||||||
```cpp
|
```cpp
|
||||||
bool PacManAI::isValidMove(const Move & move) {
|
bool PacManAI::isValidMove(const Move & move) {
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue