pacman/test/testPacMan.cpp

9 lines
211 B
C++
Raw Permalink Normal View History

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