Skip to content

Commit 6095750

Browse files
committed
Update basic_tests.cc
1 parent 927e1f6 commit 6095750

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

open_spiel/tests/basic_tests.cc

-5
Original file line numberDiff line numberDiff line change
@@ -356,9 +356,7 @@ void RandomSimulation(std::mt19937* rng, const Game& game, bool undo,
356356
CheckActionStringsAreUnique(game, *state);
357357

358358
// Test cloning the state.
359-
//std::cout<<"pre clone"<<std::endl;
360359
std::unique_ptr<open_spiel::State> state_copy = state->Clone();
361-
//std::cout<<"post clone"<<std::endl;
362360
SPIEL_CHECK_EQ(state->ToString(), state_copy->ToString());
363361
SPIEL_CHECK_EQ(state->History(), state_copy->History());
364362

@@ -375,11 +373,8 @@ void RandomSimulation(std::mt19937* rng, const Game& game, bool undo,
375373
if (mask_test) LegalActionsMaskTest(game, *state, kChancePlayerId,
376374
state->LegalActions());
377375
// Chance node; sample one according to underlying distribution
378-
//std::cout<<"pre chance outcomes"<<std::endl;
379376
std::vector<std::pair<Action, double>> outcomes = state->ChanceOutcomes();
380-
//std::cout<<"post chance outcomes"<<std::endl;
381377
auto [action, prob] = open_spiel::SampleAction(outcomes, *rng);
382-
//std::cout<<"post sampling"<<std::endl;
383378

384379
if (verbose) {
385380
std::cout << "sampled outcome: "

0 commit comments

Comments
 (0)