Skip to content

Commit

Permalink
Add tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
HechtiDerLachs committed Jan 22, 2024
1 parent c5bf356 commit 8e37b25
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions test/AlgebraicGeometry/Schemes/DerivedPushforward.jl
Original file line number Diff line number Diff line change
Expand Up @@ -270,3 +270,26 @@ end

@test iszero(map(C, 1, (-1,)))
end

@testset "elliptic singularities and blowups" begin
P, (x,y,z) = polynomial_ring(QQ, [:x,:y,:z])
J = ideal(P,[x*y*z - (x + y + z)*(x^2 + y^2 + z^2)]);
R,_ = quo(P,J);
IP = projective_space(R,[:u,:v,:w]);
S = homogeneous_coordinate_ring(IP);
(u,v,w) = gens(S);
f = u*v*w - (u + v + w)*(u^2 + v^2 + w^2*z);
g1 = u*y - x*v;
g2 = u*z - x*w;
g3 = y*w - v*z;
I = ideal(S,[f, g1, g2, g3]);
X, inc_X = sub(IP,I);
SX = homogeneous_coordinate_ring(X);
F = graded_free_module(S,[0]);
OX = subquotient(F,S[0;],S[f; g1; g2; g3]);
dOX = Oscar._derived_pushforward(OX);
for i in 0:2
@test iszero(dOX[-i])
end
end

0 comments on commit 8e37b25

Please sign in to comment.