diff --git a/test/spin.jl b/test/spin.jl index 42c31664..139540ea 100644 --- a/test/spin.jl +++ b/test/spin.jl @@ -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)