pacman/test/testPacMan.cpp
2021-09-11 17:10:12 +02:00

8 lines
211 B
C++

#include "PacMan.hpp"
#include <catch2/catch.hpp>
TEST_CASE("Pacman has the correct initial position") {
pacman::PacMan pacMan;
REQUIRE(pacMan.position().x == 13.5);
REQUIRE(pacMan.position().y == 23);
}