1
0
mirror of https://github.com/kalmarek/Groups.jl.git synced 2024-10-15 07:20:35 +02:00

tests of the conversion

This commit is contained in:
kalmar 2017-01-25 12:18:18 +01:00
parent 885854896f
commit 7d5973b11c

View File

@ -40,6 +40,10 @@ end
@test isa(Groups.GWord(s), Groups.GWord)
@test isa(Groups.GWord(s), FGWord)
@test isa(FGWord(s), Groups.GWord)
@test isa(convert(FGWord, s), GWord)
@test isa(convert(FGWord, s), FGWord)
@test isa(Vector{FGWord}([s,t]), Vector{FGWord})
@test Vector{GWord{FGSymbol}}([s,t]) == Vector{FGWord}([s,t])
@test isa(s*s, FGWord)
@test s*s == s^2
@test t*s s*t