1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Added logic for 32 man bracket

This commit is contained in:
2024-12-23 22:12:44 -05:00
parent 4f0f69223d
commit 13bb8067fb
8 changed files with 513 additions and 93 deletions

View File

@@ -69,8 +69,8 @@ class TournamentTest < ActiveSupport::TestCase
assert @tournament.match_generation_error != nil
end
test "Tournament Double Elimination 1-8 match generation errors with more than 16 wrestlers" do
number_of_wrestlers=17
test "Tournament Double Elimination 1-8 match generation errors with more than 32 wrestlers" do
number_of_wrestlers=33
create_a_tournament_with_single_weight("Double Elimination 1-8", number_of_wrestlers)
assert @tournament.match_generation_error != nil
end