File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed
Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -324,19 +324,6 @@ TEST(GameBoardTest, updateLongestRoadPlayer){
324324 ASSERT_FALSE (test_player2.hasLongestRoad ());
325325}
326326
327- /* *
328- TEST(canRobberRob){
329- GameBoard test_board({"tester1", "tester2"});
330- Player& test_player1 = test_board.getPlayer(0);
331- Player& test_player2 = test_board.getPlayer(1);
332-
333-
334- ASSERT_FALSE(test_board.canRobberRob(test_player1, Coordinate(0,1)));
335-
336- test_board.PlaceSettlement(Coordinate(0,0), test_player1);
337- ASSERT_TRUE(test_board.canRobberRob(test_player1, Coordinate(0,1)));
338- }
339- **/
340327
341328TEST (GameBoardTest, canRobberRob){
342329 GameBoard test_board ({" tester1" , " tester2" });
@@ -355,7 +342,7 @@ TEST(GameBoardTest, buyCard){
355342 GameBoard test_board ({" tester1" });
356343 Player& test_player = test_board.getPlayer (0 );
357344
358- CHECK (test_player.getDevCardsInHand () == 0 );
345+ ASSERT_EQ (test_player.getDevCardsInHand (), 0 );
359346 test_board.buyCard (test_player);
360347 ASSERT_EQ (test_player.getDevCardsInHand (), 0 );
361348
You can’t perform that action at this time.
0 commit comments