1
0
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:
kalmar 2017-06-05 11:14:24 +02:00
parent a03420e6d3
commit 0972cd1fdc

View File

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