1
0
mirror of https://github.com/kalmarek/Groups.jl.git synced 2024-12-24 01:55:29 +01:00

fix basic tests for construction of automorphisms

This commit is contained in:
kalmar 2017-01-27 13:04:52 +01:00
parent 3ca4563439
commit 9755b9365c

View File

@ -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)