diff options
Diffstat (limited to 'test/game_state.cpp')
-rw-r--r-- | test/game_state.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/game_state.cpp b/test/game_state.cpp index 467a665..a9975f2 100644 --- a/test/game_state.cpp +++ b/test/game_state.cpp @@ -82,8 +82,8 @@ SCENARIO("game state is read from istream") THEN("the spaceships are read correctly") { - auto spaceships = state.spaceships(); - REQUIRE(spaceships.size() == 2); + REQUIRE(state.playerSpaceship()->x() == 9); + REQUIRE(state.playerSpaceship()->y() == 22); } } } |