Skip to content

Commit 6c703e7

Browse files
committed
some slight test tweaks
1 parent 23b8443 commit 6c703e7

File tree

2 files changed

+18
-22
lines changed

2 files changed

+18
-22
lines changed

test/ad.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,16 +151,16 @@ ChainRulesTestUtils.test_method_tables()
151151
spacelist = ((ℂ^2, (ℂ^3)', ℂ^3, ℂ^2, (ℂ^2)'),
152152
(Vect[Z2Irrep](0 => 1, 1 => 1),
153153
Vect[Z2Irrep](0 => 1, 1 => 2)',
154-
Vect[Z2Irrep](0 => 3, 1 => 2)',
154+
Vect[Z2Irrep](0 => 2, 1 => 2)',
155155
Vect[Z2Irrep](0 => 2, 1 => 3),
156156
Vect[Z2Irrep](0 => 2, 1 => 2)),
157157
(Vect[FermionParity](0 => 1, 1 => 1),
158158
Vect[FermionParity](0 => 1, 1 => 2)',
159-
Vect[FermionParity](0 => 2, 1 => 2)',
159+
Vect[FermionParity](0 => 2, 1 => 1)',
160160
Vect[FermionParity](0 => 2, 1 => 3),
161161
Vect[FermionParity](0 => 2, 1 => 2)),
162162
(Vect[U1Irrep](0 => 2, 1 => 1, -1 => 1),
163-
Vect[U1Irrep](0 => 3, 1 => 1, -1 => 1),
163+
Vect[U1Irrep](0 => 2, 1 => 1, -1 => 1),
164164
Vect[U1Irrep](0 => 2, 1 => 2, -1 => 1)',
165165
Vect[U1Irrep](0 => 1, 1 => 1, -1 => 2),
166166
Vect[U1Irrep](0 => 1, 1 => 2, -1 => 1)'),
@@ -171,7 +171,7 @@ spacelist = ((ℂ^2, (ℂ^3)', ℂ^3, ℂ^2, (ℂ^2)'),
171171
Vect[SU2Irrep](0 => 1, 1 // 2 => 1, 3 // 2 => 1)'),
172172
(Vect[FibonacciAnyon](:I => 1, => 1),
173173
Vect[FibonacciAnyon](:I => 1, => 2)',
174-
Vect[FibonacciAnyon](:I => 3, => 2)',
174+
Vect[FibonacciAnyon](:I => 2, => 2)',
175175
Vect[FibonacciAnyon](:I => 2, => 3),
176176
Vect[FibonacciAnyon](:I => 2, => 2)))
177177

test/runtests.jl

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -59,24 +59,20 @@ sectorlist = (Z2Irrep, Z3Irrep, Z4Irrep, Z3Irrep ⊠ Z4Irrep,
5959
Z2Irrep FibonacciAnyon FibonacciAnyon)
6060

6161
# spaces
62-
Vtr = (ℂ^3,
63-
(ℂ^4)',
64-
^5,
65-
^6,
66-
(ℂ^7)')
62+
Vtr = (ℂ^2, (ℂ^3)', ℂ^4, ℂ^3, (ℂ^2)')
6763
Vℤ₂ = (ℂ[Z2Irrep](0 => 1, 1 => 1),
6864
ℂ[Z2Irrep](0 => 1, 1 => 2)',
6965
ℂ[Z2Irrep](0 => 3, 1 => 2)',
7066
ℂ[Z2Irrep](0 => 2, 1 => 3),
7167
ℂ[Z2Irrep](0 => 2, 1 => 5))
7268
Vfℤ₂ = (ℂ[FermionParity](0 => 1, 1 => 1),
7369
ℂ[FermionParity](0 => 1, 1 => 2)',
74-
ℂ[FermionParity](0 => 3, 1 => 2)',
70+
ℂ[FermionParity](0 => 2, 1 => 1)',
7571
ℂ[FermionParity](0 => 2, 1 => 3),
7672
ℂ[FermionParity](0 => 2, 1 => 5))
77-
Vℤ₃ = (ℂ[Z3Irrep](0 => 1, 1 => 2, 2 => 2),
78-
ℂ[Z3Irrep](0 => 3, 1 => 1, 2 => 1),
79-
ℂ[Z3Irrep](0 => 2, 1 => 2, 2 => 1)',
73+
Vℤ₃ = (ℂ[Z3Irrep](0 => 1, 1 => 2, 2 => 1),
74+
ℂ[Z3Irrep](0 => 2, 1 => 1, 2 => 1),
75+
ℂ[Z3Irrep](0 => 1, 1 => 2, 2 => 1)',
8076
ℂ[Z3Irrep](0 => 1, 1 => 2, 2 => 3),
8177
ℂ[Z3Irrep](0 => 1, 1 => 3, 2 => 3)')
8278
VU₁ = (ℂ[U1Irrep](0 => 1, 1 => 2, -1 => 2),
@@ -118,16 +114,16 @@ Vfib = (Vect[FibonacciAnyon](:I => 1, :τ => 1),
118114

119115
if !is_buildkite
120116
Ti = time()
121-
include("fusiontrees.jl")
122-
include("spaces.jl")
123-
include("tensors.jl")
124-
include("factorizations.jl")
125-
include("diagonal.jl")
126-
include("planar.jl")
127-
if isempty(VERSION.prerelease)
128-
include("ad.jl")
117+
@time include("fusiontrees.jl")
118+
@time include("spaces.jl")
119+
@time include("tensors.jl")
120+
@time include("factorizations.jl")
121+
@time include("diagonal.jl")
122+
@time include("planar.jl")
123+
if !(Sys.isapple() && get(ENV, "CI", "false") == "true") && isempty(VERSION.prerelease)
124+
@time include("ad.jl")
129125
end
130-
include("bugfixes.jl")
126+
@time include("bugfixes.jl")
131127
Tf = time()
132128
printstyled("Finished all tests in ",
133129
string(round((Tf - Ti) / 60; sigdigits=3)),

0 commit comments

Comments
 (0)