From 1da1c8d213ce710a9cafdd560d0d3d3c7fb74d70 Mon Sep 17 00:00:00 2001 From: Justin Worthe Date: Wed, 12 Aug 2015 23:18:56 +0200 Subject: Changing how gamestate is interpreted into network --- test/game_state.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') 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); } } } -- cgit v1.2.3