mirror of
https://github.com/kalmarek/Groups.jl.git
synced 2024-12-24 18:05:27 +01:00
fix basic tests for construction of automorphisms
This commit is contained in:
parent
3ca4563439
commit
9755b9365c
@ -113,7 +113,7 @@ end
|
||||
@testset "AutSymbol" begin
|
||||
@test_throws MethodError AutSymbol("a")
|
||||
@test_throws MethodError AutSymbol("a", 1)
|
||||
f = AutSymbol("a", 1, :(a(0)))
|
||||
f = AutSymbol("a", 1, :(a(0)), v -> v, v -> v)
|
||||
@test isa(f, GSymbol)
|
||||
@test isa(f, AutSymbol)
|
||||
@test isa(symmetric_AutSymbol([1,2,3,4]), AutSymbol)
|
||||
@ -123,7 +123,7 @@ end
|
||||
end
|
||||
|
||||
@testset "AutWords" begin
|
||||
f = AutSymbol("a", 1, :(a(0)))
|
||||
f = AutSymbol("a", 1, :(a(0)), v -> v, v -> v)
|
||||
@test isa(GWord(f), GWord)
|
||||
@test isa(GWord(f), AutWord)
|
||||
@test isa(AutWord(f), AutWord)
|
||||
|
Loading…
Reference in New Issue
Block a user