Skip to content

Commit

Permalink
Remove oscar. stuff.
Browse files Browse the repository at this point in the history
  • Loading branch information
HechtiDerLachs committed May 17, 2023
1 parent 19c9180 commit e6ff891
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions test/AlgebraicGeometry/Schemes/AffineSchemes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -194,27 +194,27 @@ end
V = hypersurface_complement(X, x)

kk, pr = quo(ZZ, 5)
IA2_red, phi1 = oscar.base_change(pr, IA2)
X_red, phi2 = oscar.base_change(pr, X)
U_red, phi3 = oscar.base_change(pr, U)
V_red, phi4 = oscar.base_change(pr, V)
IA2_red, phi1 = base_change(pr, IA2)
X_red, phi2 = base_change(pr, X)
U_red, phi3 = base_change(pr, U)
V_red, phi4 = base_change(pr, V)

m1 = compose(inclusion_morphism(V_red, IA2_red), phi1);
m2 = compose(phi4, inclusion_morphism(V, IA2));
@test m1 == m2

# Testing morphisms
inc_U = inclusion_morphism(V, X)
(a, b, c) = oscar.base_change(pr, inc_U)
(a, b, c) = base_change(pr, inc_U)
@test compose(a, inc_U) == compose(b, c)

# Behaviour for special types
U = PrincipalOpenSubset(IA2, y)
UU, f = oscar.base_change(pr, U)
UU, f = base_change(pr, U)
@test UU isa PrincipalOpenSubset

W = SpecOpen(IA2, [x, y])
WW, f = oscar.base_change(pr, W)
WW, f = base_change(pr, W)
@test WW isa SpecOpen
end

4 changes: 2 additions & 2 deletions test/AlgebraicGeometry/Schemes/CoveredScheme.jl
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ end
@testset "base change" begin
kk, pr = quo(ZZ, 5)
IP1 = covered_scheme(projective_space(ZZ, 1))
IP1_red, red_map = oscar.base_change(pr, IP1)
IP1_red, red_map = base_change(pr, IP1)

IP2 = projective_space(ZZ, 2)
S = homogeneous_coordinate_ring(IP2)
Expand All @@ -231,6 +231,6 @@ end
II = IdealSheaf(IP2, I)

inc_X = oscar.CoveredClosedEmbedding(IP2_cov, II)
(a, b, c) = oscar.base_change(pr, inc_X)
(a, b, c) = base_change(pr, inc_X)
@test compose(a, inc_X) == compose(b, c)
end
2 changes: 1 addition & 1 deletion test/AlgebraicGeometry/Schemes/Glueing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ end
IP1 = covered_scheme(projective_space(ZZ, 1))
C = default_covering(IP1)
G = first(values(glueings(C)))
GG = oscar.base_change(pr, G)
GG = base_change(pr, G)
@test underlying_glueing(GG) isa SimpleGlueing
end

0 comments on commit e6ff891

Please sign in to comment.