1
0
mirror of https://github.com/kalmarek/Groups.jl.git synced 2024-11-19 06:30:29 +01:00

Changes in test to accommodate change in AutSymbol

This commit is contained in:
kalmar 2017-02-10 16:00:49 +01:00
parent 4bf178ea94
commit 31ad7d17eb

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)), v -> v, v -> v)
f = AutSymbol("a", 1, :(a()), 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)), v -> v, v -> v)
f = AutSymbol("a", 1, :(a()), v -> v)
@test isa(GWord(f), GWord)
@test isa(GWord(f), AutWord)
@test isa(AutWord(f), AutWord)