From 8001483dddb625cbd0d850fa59ffd055f8f61c57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Mon, 7 Aug 2023 11:07:42 +0200 Subject: [PATCH] get rid of bad print --- game_state.hpp | 1 - main.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/game_state.hpp b/game_state.hpp index 0d79594..c8e7080 100644 --- a/game_state.hpp +++ b/game_state.hpp @@ -334,7 +334,6 @@ namespace Hanabi { _draw_pile.push_back({card, nums_in_draw_pile[card]}); if(!is_trash(card)) { _card_positions_draw[card].resize(nums_in_draw_pile[card], draw_pile); - std::cout << _card_positions_draw[card].size() << std::endl; } } } diff --git a/main.cpp b/main.cpp index 18d86d6..eac3c1a 100644 --- a/main.cpp +++ b/main.cpp @@ -40,7 +40,7 @@ namespace Hanabi { } -#define CHECK(test, condition) if (!(condition)) { std::cerr << "Test " << (test) << " failed." << std::endl; } +#define CHECK(test, condition) if (!(condition)) { std::cerr << "Test " << (test) << " failed." << std::endl; } else { std::cout << "Test " << (test) << " succeeded." << std::endl; } void test() { {