Skip to content

Commit

Permalink
Better iso test
Browse files Browse the repository at this point in the history
  • Loading branch information
lgoettgens committed Nov 1, 2024
1 parent c6d520b commit 92c6176
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions experimental/LieAlgebras/test/WeylGroup-test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,15 @@ include(
if is_finite(W) # remove once rand(W) is implemented for infinite groups
w = rand(W)
@test w == inv(iso)(iso(w))
v = rand(W)
@test iso(v*w) == iso(v)*iso(w)
@test v*w == inv(iso)(iso(v)*iso(w))
end
g = rand_pseudo(G)
@test g == iso(inv(iso)(g))
h = rand_pseudo(G)
@test inv(iso)(h*g) == inv(iso)(h)*inv(iso)(g)
@test h*g == iso(inv(iso)(h)*inv(iso)(g))
end
end
end
Expand Down Expand Up @@ -144,9 +150,15 @@ include(
if is_finite(W) # remove once rand(W) is implemented for infinite groups
w = rand(W)
@test w == inv(iso)(iso(w))
v = rand(W)
@test iso(v*w) == iso(v)*iso(w)
@test v*w == inv(iso)(iso(v)*iso(w))
end
g = rand_pseudo(G)
@test g == iso(inv(iso)(g))
h = rand_pseudo(G)
@test inv(iso)(h*g) == inv(iso)(h)*inv(iso)(g)
@test h*g == iso(inv(iso)(h)*inv(iso)(g))
end
end
end
Expand Down

0 comments on commit 92c6176

Please sign in to comment.