diff --git a/tests/BattleTests/TurnOrderTests.cpp b/tests/BattleTests/TurnOrderTests.cpp index 031342f..d4b5b4b 100644 --- a/tests/BattleTests/TurnOrderTests.cpp +++ b/tests/BattleTests/TurnOrderTests.cpp @@ -16,7 +16,6 @@ TEST_CASE("Turn ordering: Attack before pass", "[Battling]") { auto choice1 = std::make_shared(nullptr); auto choice2 = std::make_shared(nullptr, &learnedAttack, CreatureIndex(0, 0)); auto vec = std::vector>{choice1, choice2}; - auto rand = ArbUt::Random(); TurnOrdering::OrderChoices(vec); CHECK(vec[0] == choice2); CHECK(vec[1] == choice1); @@ -33,7 +32,6 @@ TEST_CASE("Turn ordering: High priority goes before no priority", "[Battling]") auto choice1 = std::make_shared(nullptr, a1, CreatureIndex(0, 0)); auto choice2 = std::make_shared(nullptr, a2, CreatureIndex(0, 0)); auto vec = std::vector>{choice1, choice2}; - auto rand = ArbUt::Random(); TurnOrdering::OrderChoices(vec); CHECK(vec[0] == choice2); CHECK(vec[1] == choice1); @@ -53,7 +51,6 @@ TEST_CASE("Turn ordering: Higher priority goes before high priority", "[Battling auto choice1 = std::make_shared(nullptr, a1, CreatureIndex(0, 0)); auto choice2 = std::make_shared(nullptr, a2, CreatureIndex(0, 0)); auto vec = std::vector>{choice1, choice2}; - auto rand = ArbUt::Random(); TurnOrdering::OrderChoices(vec); CHECK(vec[0] == choice2); CHECK(vec[1] == choice1); @@ -72,7 +69,6 @@ TEST_CASE("Turn ordering: High priority goes before low priority", "[Battling]") auto choice1 = std::make_shared(nullptr, a1, CreatureIndex(0, 0)); auto choice2 = std::make_shared(nullptr, a2, CreatureIndex(0, 0)); auto vec = std::vector>{choice1, choice2}; - auto rand = ArbUt::Random(); TurnOrdering::OrderChoices(vec); CHECK(vec[0] == choice2); CHECK(vec[1] == choice1); @@ -92,7 +88,6 @@ TEST_CASE("Turn ordering: No priority goes before low priority", "[Battling]") { auto choice1 = std::make_shared(nullptr, a1, CreatureIndex(0, 0)); auto choice2 = std::make_shared(nullptr, a2, CreatureIndex(0, 0)); auto vec = std::vector>{choice1, choice2}; - auto rand = ArbUt::Random(); TurnOrdering::OrderChoices(vec); CHECK(vec[0] == choice2); CHECK(vec[1] == choice1);