mirror of
https://github.com/kalmarek/Groups.jl.git
synced 2024-11-19 06:30:29 +01:00
fix skipped tests
This commit is contained in:
parent
2b59b5c89f
commit
4492c4451e
@ -38,12 +38,14 @@ end
|
|||||||
end
|
end
|
||||||
|
|
||||||
@testset "eltary functions" begin
|
@testset "eltary functions" begin
|
||||||
@test_skip (s*s).symbols == (s^2).symbols
|
G = FreeGroup(["s", "t"])
|
||||||
@test_skip Vector{Groups.GWord{Groups.FreeSymbol}}([s,t]) ==
|
s = G(s)
|
||||||
Vector{FreeGroupElem}([s,t])
|
t = G(t)
|
||||||
@test_skip Vector{Groups.GWord}([s,t]) ==
|
@test Vector{Groups.GWord}([s,t]) == [Groups.GWord(s), Groups.GWord(t)]
|
||||||
[Groups.GWord(s), Groups.GWord(t)]
|
|
||||||
@test_skip hash([t^1,s^1]) == hash([t^2*inv(t),s*inv(s)*s])
|
@test (s*s).symbols == (s^2).symbols
|
||||||
|
|
||||||
|
@test hash([t^1,s^1]) == hash([t^2*inv(t),s*inv(s)*s])
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -55,8 +57,6 @@ end
|
|||||||
@test isa(G(), FreeGroupElem)
|
@test isa(G(), FreeGroupElem)
|
||||||
@test eltype(G.gens) == Groups.FreeSymbol
|
@test eltype(G.gens) == Groups.FreeSymbol
|
||||||
@test length(G.gens) == 2
|
@test length(G.gens) == 2
|
||||||
@test_skip eltype(G.rels) == FreeGroupElem
|
|
||||||
@test_skip length(G.rels) == 0
|
|
||||||
@test eltype(Nemo.gens(G)) == FreeGroupElem
|
@test eltype(Nemo.gens(G)) == FreeGroupElem
|
||||||
@test length(Nemo.gens(G)) == 2
|
@test length(Nemo.gens(G)) == 2
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user