public void Scouting_FarMapCorner_ShouldBeVisible_WhenScoutingTile() { var data = client.ScoutTile(new LocationInfo(7, 7)); data.Map.Objects .Where(x => x.Location.ToLocation().EuclideanDistance(Location.Zero) > HommRules.Current.HeroViewRadius) .Should().HaveCount(6); data.Map.Objects .Where(x => x.Terrain == Terrain.Desert) .Should().HaveCount(1); data.Map.Objects .Where(x => x.Terrain == Terrain.Marsh) .Should().HaveCount(5); }
public void Scouting_ShouldNotSeeScoutedTiles_OnNextTurn() { client.ScoutTile(new LocationInfo(7, 7)); var data = client.Wait(0.1); data.Map.Objects .Where(x => x.Location.ToLocation().EuclideanDistance(Location.Zero) > HommRules.Current.HeroViewRadius) .Should().BeEmpty(); }