mirror of
https://github.com/kalmarek/PropertyT.jl.git
synced 2024-11-22 16:05:27 +01:00
reorganize tests
This commit is contained in:
parent
23f829a874
commit
9567169bdc
123
test/runtests.jl
123
test/runtests.jl
@ -17,66 +17,77 @@ end
|
|||||||
solver(iters; accel=1) =
|
solver(iters; accel=1) =
|
||||||
SCSSolver(max_iters=iters, acceleration_lookback=accel, eps=1e-10)
|
SCSSolver(max_iters=iters, acceleration_lookback=accel, eps=1e-10)
|
||||||
|
|
||||||
@testset "SL(2,Z)" begin
|
@testset "1703.09680 Examples" begin
|
||||||
N = 2
|
|
||||||
G = MatrixSpace(Nemo.ZZ, N,N)
|
|
||||||
S = Groups.gens(G)
|
|
||||||
|
|
||||||
sett = PropertyT.Settings("SL($N,Z)", G, S, solver(20000, accel=20); upper_bound=0.1)
|
@testset "SL(2,Z)" begin
|
||||||
|
rm("SL(2,Z)", recursive=true, force=true)
|
||||||
|
N = 2
|
||||||
|
G = MatrixSpace(Nemo.ZZ, N,N)
|
||||||
|
S = Groups.gens(G)
|
||||||
|
|
||||||
@test PropertyT.check_property_T(sett) == false
|
sett = PropertyT.Settings("SL($N,Z)", G, S, solver(20000, accel=20); upper_bound=0.1)
|
||||||
|
|
||||||
|
@test PropertyT.check_property_T(sett) == false
|
||||||
|
end
|
||||||
|
|
||||||
|
@testset "SL(3,Z)" begin
|
||||||
|
rm("SL(3,Z)", recursive=true, force=true)
|
||||||
|
N = 3
|
||||||
|
G = MatrixSpace(Nemo.ZZ, N,N)
|
||||||
|
S = Groups.gens(G)
|
||||||
|
|
||||||
|
sett = PropertyT.Settings("SL($N,Z)", G, S, solver(1000, accel=20); upper_bound=0.1)
|
||||||
|
|
||||||
|
@test PropertyT.check_property_T(sett) == true
|
||||||
|
end
|
||||||
|
|
||||||
|
@testset "SAut(F₂)" begin
|
||||||
|
rm("SAut(F2)", recursive=true, force=true)
|
||||||
|
N = 2
|
||||||
|
G = SAut(FreeGroup(N))
|
||||||
|
S = Groups.gens(G)
|
||||||
|
S = [S; inv.(S)]
|
||||||
|
|
||||||
|
sett = PropertyT.Settings("SAut(F$N)", G, S, solver(20000);
|
||||||
|
upper_bound=0.15, warmstart=false)
|
||||||
|
|
||||||
|
@test PropertyT.check_property_T(sett) == false
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@testset "SL(3,Z)" begin
|
@testset "17.12.07167 Examples" begin
|
||||||
N = 3
|
|
||||||
G = MatrixSpace(Nemo.ZZ, N,N)
|
|
||||||
S = Groups.gens(G)
|
|
||||||
|
|
||||||
sett = PropertyT.Settings("SL($N,Z)", G, S, solver(1000, accel=20); upper_bound=0.1)
|
@testset "oSL(3,Z)" begin
|
||||||
|
rm("oSL(3,Z)", recursive=true, force=true)
|
||||||
|
N = 3
|
||||||
|
G = MatrixSpace(Nemo.ZZ, N,N)
|
||||||
|
S = Groups.gens(G)
|
||||||
|
autS = WreathProduct(PermGroup(2), PermGroup(N))
|
||||||
|
|
||||||
@test PropertyT.check_property_T(sett) == true
|
sett = PropertyT.Settings("SL($N,Z)", G, S, autS, solver(2000, accel=20);
|
||||||
end
|
upper_bound=0.27, warmstart=false)
|
||||||
|
|
||||||
@testset "oSL(3,Z)" begin
|
@test PropertyT.check_property_T(sett) == false
|
||||||
N = 3
|
#second run just checks the solution
|
||||||
G = MatrixSpace(Nemo.ZZ, N,N)
|
@test PropertyT.check_property_T(sett) == false
|
||||||
S = Groups.gens(G)
|
|
||||||
autS = WreathProduct(PermGroup(2), PermGroup(N))
|
sett = PropertyT.Settings("SL($N,Z)", G, S, autS, solver(2000, accel=10);
|
||||||
|
upper_bound=0.27, warmstart=true)
|
||||||
sett = PropertyT.Settings("SL($N,Z)", G, S, autS, solver(1000, accel=20);
|
|
||||||
upper_bound=0.27, warmstart=false)
|
@test PropertyT.check_property_T(sett) == true
|
||||||
|
end
|
||||||
@test PropertyT.check_property_T(sett) == false
|
|
||||||
#second run just checks the solution
|
@testset "SAut(F₂)" begin
|
||||||
@test PropertyT.check_property_T(sett) == false
|
rm("oSAut(F3)", recursive=true, force=true)
|
||||||
|
N = 3
|
||||||
sett = PropertyT.Settings("SL($N,Z)", G, S, autS, solver(1000, accel=20);
|
G = SAut(FreeGroup(N))
|
||||||
upper_bound=0.27, warmstart=true)
|
S = Groups.gens(G)
|
||||||
|
S = [S; inv.(S)]
|
||||||
@test PropertyT.check_property_T(sett) == true
|
autS = WreathProduct(PermGroup(2), PermGroup(N))
|
||||||
end
|
|
||||||
|
sett = PropertyT.Settings("SAut(F$N)", G, S, autS, solver(10000);
|
||||||
@testset "SAut(F₂)" begin
|
upper_bound=0.15, warmstart=false)
|
||||||
N = 2
|
|
||||||
G = SAut(FreeGroup(N))
|
@test PropertyT.check_property_T(sett) == false
|
||||||
S = Groups.gens(G)
|
end
|
||||||
S = [S; inv.(S)]
|
|
||||||
|
|
||||||
sett = PropertyT.Settings("SAut(F$N)", G, S, solver(20000, accel=20);
|
|
||||||
upper_bound=0.15, warmstart=false)
|
|
||||||
|
|
||||||
@test PropertyT.check_property_T(sett) == false
|
|
||||||
end
|
|
||||||
|
|
||||||
@testset "SAut(F₂)" begin
|
|
||||||
N = 3
|
|
||||||
G = SAut(FreeGroup(N))
|
|
||||||
S = Groups.gens(G)
|
|
||||||
S = [S; inv.(S)]
|
|
||||||
autS = WreathProduct(PermGroup(2), PermGroup(N))
|
|
||||||
|
|
||||||
sett = PropertyT.Settings("SAut(F$N)", G, S, autS, solver(20000);
|
|
||||||
upper_bound=0.15, warmstart=false)
|
|
||||||
|
|
||||||
@test PropertyT.check_property_T(sett) == false
|
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user