Update to new Arbutils
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -232,23 +232,23 @@ TEST_CASE("Switch Creature in, mark as seen opponent for opponent", "[Integratio
|
||||
|
||||
auto seen = c3->GetSeenOpponents();
|
||||
REQUIRE(seen.size() == 1);
|
||||
REQUIRE(seen.find(c1) != seen.end());
|
||||
REQUIRE(seen.contains(c1));
|
||||
|
||||
battle.TrySetChoice(new SwitchTurnChoice(c1, c2));
|
||||
battle.TrySetChoice(new PassTurnChoice(c3));
|
||||
|
||||
seen = c3->GetSeenOpponents();
|
||||
REQUIRE(seen.size() == 2);
|
||||
REQUIRE(seen.find(c1) != seen.end());
|
||||
REQUIRE(seen.find(c2) != seen.end());
|
||||
REQUIRE(seen.contains(c1));
|
||||
REQUIRE(seen.contains(c2));
|
||||
|
||||
battle.TrySetChoice(new SwitchTurnChoice(c2, c1));
|
||||
battle.TrySetChoice(new PassTurnChoice(c3));
|
||||
|
||||
seen = c3->GetSeenOpponents();
|
||||
REQUIRE(seen.size() == 2);
|
||||
REQUIRE(seen.find(c1) != seen.end());
|
||||
REQUIRE(seen.find(c2) != seen.end());
|
||||
REQUIRE(seen.contains(c1));
|
||||
REQUIRE(seen.contains(c2));
|
||||
}
|
||||
|
||||
TEST_CASE("Flee Battle", "[Integrations]") {
|
||||
|
||||
Reference in New Issue
Block a user