mirror of
https://github.com/kalmarek/GroupRings.jl.git
synced 2024-12-29 11:00:28 +01:00
tests: fix GroupRingElem printing
This commit is contained in:
parent
a03420e6d3
commit
0972cd1fdc
@ -77,7 +77,7 @@ using Nemo
|
|||||||
@test a[5] == 1
|
@test a[5] == 1
|
||||||
@test a[p] == 1
|
@test a[p] == 1
|
||||||
|
|
||||||
@test string(a) == "1*[2, 3, 1]"
|
@test string(a) == " + 1*[2, 3, 1]"
|
||||||
|
|
||||||
@test RG([0,0,0,0,1,0]) == a
|
@test RG([0,0,0,0,1,0]) == a
|
||||||
|
|
||||||
@ -89,7 +89,7 @@ using Nemo
|
|||||||
@test a[1] == 2
|
@test a[1] == 2
|
||||||
@test a[s] == 2
|
@test a[s] == 2
|
||||||
|
|
||||||
@test string(a) == "2*[1, 2, 3] + 1*[2, 3, 1]"
|
@test string(a) == " + 2*[1, 2, 3] + 1*[2, 3, 1]"
|
||||||
|
|
||||||
@test length(a) == 2
|
@test length(a) == 2
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user