Fix test aswell
This commit is contained in:
parent
3c638c057e
commit
98c223933f
1 changed files with 1 additions and 2 deletions
|
@ -2,8 +2,7 @@
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
|
|
||||||
TEST(PacManTest, InitialPosition) {
|
TEST(PacManTest, InitialPosition) {
|
||||||
pacman::Board board;
|
pacman::PacMan pacMan;
|
||||||
pacman::PacMan pacMan();
|
|
||||||
EXPECT_EQ(pacMan.position().x, 13.5);
|
EXPECT_EQ(pacMan.position().x, 13.5);
|
||||||
EXPECT_EQ(pacMan.position().y, 23);
|
EXPECT_EQ(pacMan.position().y, 23);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue