def test_ConeOfCold(self):
        game = generate_game_for(ConeOfCold, [StonetuskBoar, BloodfenRaptor, BloodfenRaptor], CardTestingAgent,
                                 OneCardPlayingAgent)

        for turn in range(0, 6):
            game.play_single_turn()

        self.assertEqual(3, len(game.current_player.minions))

        game.play_single_turn()

        self.assertEqual(3, len(game.other_player.minions))
        self.assertTrue(game.other_player.minions[0].frozen)
        self.assertEqual(1, game.other_player.minions[0].health)
        self.assertTrue(game.other_player.minions[1].frozen)
        self.assertEqual(1, game.other_player.minions[1].health)
        self.assertFalse(game.other_player.minions[2].frozen)
        self.assertEqual(1, game.other_player.minions[2].health)
        self.assertEqual(30, game.other_player.hero.health)

        # Now check to ensure that it will work when targeting the other end of the minion list
        game.current_player.agent.choose_target = lambda targets: targets[len(targets) - 1]
        game.play_single_turn()
        game.play_single_turn()

        # Neither of the minions which survive Cone of Cold will be frozen, since they weren't touched this round
        self.assertEqual(2, len(game.other_player.minions))
        self.assertFalse(game.other_player.minions[0].frozen)
        self.assertFalse(game.other_player.minions[1].frozen)
dataset/ETHPy150Open danielyule/hearthbreaker/tests/card_tests/mage_tests.py/TestMage.test_ConeOfCold/original