pacman/test/tests.cpp
2021-07-07 11:40:23 +02:00

13 lines
294 B
C++

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