pacman/test/tests.cpp
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

14 lines
319 B
C++

#include <gtest/gtest.h>
#include "PacMan.hpp"
TEST(PacManTest, InitialPosition) {
Board board;
PacMan pacMan(board);
EXPECT_EQ(pacMan.currentPosition().x, 14);
EXPECT_EQ(pacMan.currentPosition().y, 23);
}
int main(int argc, char* argv[]) {
testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}