Skip to content

Commit

Permalink
Fixed size test
Browse files Browse the repository at this point in the history
  • Loading branch information
brainandforce committed Nov 16, 2023
1 parent 007a25d commit 5a17160
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/spin.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@testset "Spin" begin
@test all(size(Multiplicity(n)) == n for n in 1:100)
@test all(size(Multiplicity(n)) == (n,) for n in 1:100)
@test all(last(Multiplicity(n)) == (n - 1)//2 for n in 1:100)
@test all(Multiplicity(n)[2] == -(n - 1)//2 + 1 for n in 2:100)
@test all(iszero(last(Multiplicity(n)) + first(Multiplicity(n))) for n in 1:100)
Expand Down

0 comments on commit 5a17160

Please sign in to comment.