Update README.md

This commit is contained in:
Patricia Aas 2021-10-19 09:48:24 +02:00 committed by GitHub
parent 72f14bcc96
commit d3d786bbc0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
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
bool PacManAI::isValidMove(const Move & move) {
return false;