1
0
mirror of https://github.com/kalmarek/GroupRings.jl.git synced 2024-07-30 14:10:31 +02:00
GroupRings.jl/test/runtests.jl

27 lines
472 B
Julia
Raw Permalink Normal View History

2018-09-24 00:31:01 +02:00
using Test
2018-07-27 00:23:19 +02:00
using AbstractAlgebra
using GroupRings
2018-09-24 00:31:01 +02:00
using SparseArrays
2019-07-23 17:19:24 +02:00
using LinearAlgebra
2018-09-24 00:31:01 +02:00
2019-06-06 19:37:32 +02:00
include("AARing_interface_conformance.jl")
2017-05-17 17:45:19 +02:00
2019-06-06 19:37:32 +02:00
@testset "Group Rings tests" begin
2019-06-06 17:52:58 +02:00
include("unittests.jl")
include("usetests.jl")
2017-05-18 12:19:52 +02:00
2019-06-06 17:52:58 +02:00
let
2019-06-06 19:37:32 +02:00
2019-06-06 17:52:58 +02:00
R = AbstractAlgebra.zz
G = PermGroup(4)
2017-05-17 17:45:19 +02:00
2019-06-06 17:52:58 +02:00
RG = GroupRing(R, G, collect(G), halfradius_length=order(G))
2017-07-25 14:45:35 +02:00
2019-06-06 17:52:58 +02:00
X = rand(RG, 0.2, -3:3)
Y = rand(RG, 0.4, -1:1)
2017-09-15 19:04:11 +02:00
2019-06-06 19:37:32 +02:00
test_ringinterface(X, Y)
2019-06-06 17:52:58 +02:00
end
2017-05-17 17:45:19 +02:00
end