Fix test aswell

This commit is contained in:
Patricia Aas 2021-07-07 11:40:23 +02:00
parent 3c638c057e
commit 98c223933f

View file

@ -2,8 +2,7 @@
#include <gtest/gtest.h>
TEST(PacManTest, InitialPosition) {
pacman::Board board;
pacman::PacMan pacMan();
pacman::PacMan pacMan;
EXPECT_EQ(pacMan.position().x, 13.5);
EXPECT_EQ(pacMan.position().y, 23);
}