mirror of
https://github.com/kalmarek/Groups.jl.git
synced 2024-12-24 01:55:29 +01:00
tests of the conversion
This commit is contained in:
parent
885854896f
commit
7d5973b11c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user