Test huge playoff stage generation

This commit is contained in:
Daniel Schädler 2022-05-29 23:54:25 +02:00
parent 6afc5a9e62
commit eb5c3b5faf
Signed by: Malaber
GPG Key ID: 4BB175A9617E4B11
1 changed files with 2 additions and 1 deletions

View File

@ -64,7 +64,8 @@ RSpec.describe PlayoffStageService do
{ team_size: 24, expected_amount_of_playoff_stages: 5 },
{ team_size: 32, expected_amount_of_playoff_stages: 5 },
{ team_size: 64, expected_amount_of_playoff_stages: 6 },
{ team_size: 111, expected_amount_of_playoff_stages: 7 }
{ team_size: 111, expected_amount_of_playoff_stages: 7 },
{ team_size: 256, expected_amount_of_playoff_stages: 8 }
].each do |parameters|
it "generates playoff stages for #{parameters[:team_size]} teams" do
amount_of_teams = parameters[:team_size]