Skip to content

Commit

Permalink
Merge pull request #10 from aviatesk/avi/44725
Browse files Browse the repository at this point in the history
avoid constructing `Vector{Tuple{Type{...},Type{...}}}`
  • Loading branch information
Andrew David Werner Rosemberg authored May 3, 2022
2 parents d8a2b92 + 3cfb1d7 commit edd0bb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ using Test
@testset "Number of rounds: $num_rounds" for num_rounds in [1; 10]
game = game_name(num_rounds)
num_players = length(size(game.rewards(1)))
@testset "Battle: $strategies_pool" for strategies_pool in collect(Iterators.product(fill(SquidGame.AVAILABLE_STRATEGIES, num_players)...))
@testset "Battle: $strategies_pool" for strategies_pool in Iterators.product(fill(SquidGame.AVAILABLE_STRATEGIES, num_players)...)
strategies = Vector{Type{<:Strategy}}()
for strategy in strategies_pool
push!(strategies, strategy)
Expand Down

0 comments on commit edd0bb4

Please sign in to comment.