Skip to content

Commit

Permalink
Inputs for weight seq tests are now semi-standard
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnAAbbott committed Oct 31, 2024
1 parent 6939d77 commit 0ccd936
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Combinatorics/EnumerativeCombinatorics/tableaux.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
@test reading_word(young_tableau(Array{Int,1}[])) == Int[]

# weight
@test weight(young_tableau([[1,2,3],[1,2],[1]])) == [3,2,1]
@test weight(young_tableau([[1,2,3],[2,3],[3]])) == [1,2,3]
@test weight(young_tableau([[1,2,3,4,5]])) == [1,1,1,1,1]
@test_throws ArgumentError weight(young_tableau([[1],[1],[1]]))
@test weight(young_tableau(Array{Int,1}[])) == Int[]
Expand Down

0 comments on commit 0ccd936

Please sign in to comment.