Skip to content

Commit 45869a8

Browse files
Merge pull request #537 from zickgraf/master
Remove obsolete tests
2 parents 98a48f1 + 61bd90c commit 45869a8

34 files changed

+187
-111
lines changed

ExamplesForHomalg/PackageInfo.g

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ SetPackageInfo( rec(
1111

1212
PackageName := "ExamplesForHomalg",
1313
Subtitle := "Examples for the GAP Package homalg",
14-
Version := "2022.08-04",
14+
Version := "2022.10-01",
1515
Date := Concatenation( "01/", ~.Version{[ 6, 7 ]}, "/", ~.Version{[ 1 .. 4 ]} ),
1616
License := "GPL-2.0-or-later",
1717

ExamplesForHomalg/examples/A1_Grothendieck.g

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Read( "Viktor.g" );
1+
ReadPackage( "ExamplesForHomalg", "examples/Viktor.g" );
22

33
II_E := GrothendieckSpectralSequence( RightDualizingFunctor( A1 ), LeftDualizingFunctor( A1 ), V );
44

ExamplesForHomalg/examples/A1_Purity.g

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Read( "Viktor.g" );
1+
ReadPackage( "ExamplesForHomalg", "examples/Viktor.g" );
22

33
filt := PurityFiltration( V );
44

ExamplesForHomalg/examples/A2_Grothendieck.g

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Read( "Markus_Lokalisierung.g" );
1+
ReadPackage( "ExamplesForHomalg", "examples/Markus_Lokalisierung.g" );
22

33
II_E := GrothendieckSpectralSequence( RightDualizingFunctor( A2 ), LeftDualizingFunctor( A2 ), M );
44

ExamplesForHomalg/examples/A2_Purity.g

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Read( "Markus_Lokalisierung.g" );
1+
ReadPackage( "ExamplesForHomalg", "examples/Markus_Lokalisierung.g" );
22

33
filt := PurityFiltration( M );
44

ExamplesForHomalg/examples/A3_AsDifferentialObject.g

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Read( "Coupling.g" );
1+
ReadPackage( "ExamplesForHomalg", "examples/Coupling.g" );
22

33
## compute a free resolution of N
44
P := Resolution( N );

ExamplesForHomalg/examples/A3_Grothendieck.g

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Read( "Coupling.g" );
1+
ReadPackage( "ExamplesForHomalg", "examples/Coupling.g" );
22

33
II_E := GrothendieckSpectralSequence( RightDualizingFunctor( A3 ), LeftDualizingFunctor( A3 ), N );
44

ExamplesForHomalg/examples/A3_Purity.g

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,12 +138,12 @@
138138
## </Subsection>
139139
## <#/GAPDoc>
140140

141-
Read( "Coupling.g" );
141+
ReadPackage( "ExamplesForHomalg", "examples/Coupling.g" );
142142

143143
filt := PurityFiltration( N );
144144

145145
II_E := SpectralSequence( filt );
146146

147147
m := IsomorphismOfFiltration( filt );
148148

149-
Display( StringTime( homalgTime( A3 ) ) );
149+
#Display( StringTime( homalgTime( A3 ) ) );

ExamplesForHomalg/examples/Abelian.g

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
## Abelian.g
2-
Read( "ReducedBasisOfModule.g" );
2+
ReadPackage( "ExamplesForHomalg", "examples/ReducedBasisOfModule.g" );
33

44
## abelian category: [HS, Prop. II.9.6]
55
d := Resolution( W );

ExamplesForHomalg/examples/AsDifferentialObject.g

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Read( "ReducedBasisOfModule.g" );
1+
ReadPackage( "ExamplesForHomalg", "examples/ReducedBasisOfModule.g" );
22

33
## compute a free resolution of W
44
P := Resolution( W );

ExamplesForHomalg/examples/CohenMacaulayRing.g

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
LoadPackage( "RingsForHomalg" );
2-
LoadPackage( "LocalizeRingForHomalg" );
3-
LoadPackage( "Modules" );
1+
LoadPackage( "RingsForHomalg", false );
2+
LoadPackage( "LocalizeRingForHomalg", false );
3+
LoadPackage( "Modules", false );
44

55
S := HomalgFieldOfRationalsInDefaultCAS( ) * "x,y";
66

ExamplesForHomalg/examples/Complexes.g

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Read( "ReducedBasisOfModule.g" );
1+
ReadPackage( "ExamplesForHomalg", "examples/ReducedBasisOfModule.g" );
22

33
Ext( 0, iota, pi );
44
Ext( 1, iota, pi );
@@ -49,4 +49,4 @@ LTensorProduct( 3, pi, iota );
4949
LTensorProduct( 4, pi, iota );
5050
LTensorProduct( 5, pi, iota );
5151

52-
Display( StringTime( homalgTime( Qxyz ) ) );
52+
#Display( StringTime( homalgTime( Qxyz ) ) );

ExamplesForHomalg/examples/EdW.g

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Read( "ReducedBasisOfModule.g" );
1+
ReadPackage( "ExamplesForHomalg", "examples/ReducedBasisOfModule.g" );
22

33
W := Hom( Qxyz, W );
44

@@ -7,4 +7,4 @@ dW := d * W;
77
EdW := Ext( 1, dW, W );
88
C := Cohomology( EdW );
99

10-
Display( StringTime( homalgTime( Qxyz ) ) );
10+
#Display( StringTime( homalgTime( Qxyz ) ) );

ExamplesForHomalg/examples/Einstein.g

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ filt := PurityFiltration( M );
2323

2424
m := IsomorphismOfFiltration( filt );
2525

26-
Display( StringTime( homalgTime( R ) ) );
26+
#Display( StringTime( homalgTime( R ) ) );

ExamplesForHomalg/examples/ExtExt.g

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@
1818
## <A left module presented by 6 relations for 5 generators>
1919
## gap> Y := Hom( Qxyz, W );
2020
## <A right module on 5 generators satisfying yet unknown relations>
21+
## gap> SetInfoLevel( InfoWarning, 0 );
2122
## gap> F := InsertObjectInMultiFunctor( Functor_Hom_for_fp_modules, 2, Y, "TensorY" );
2223
## <The functor TensorY for f.p. modules and their maps over computable rings>
24+
## gap> SetInfoLevel( InfoWarning, 1 );
2325
## gap> G := LeftDualizingFunctor( Qxyz );;
2426
## gap> II_E := GrothendieckSpectralSequence( F, G, W );
2527
## <A stable homological spectral sequence with sheets at levels
@@ -115,9 +117,11 @@
115117
## </Subsection>
116118
## <#/GAPDoc>
117119

118-
Read( "ReducedBasisOfModule.g" );
120+
ReadPackage( "ExamplesForHomalg", "examples/ReducedBasisOfModule.g" );
119121

122+
SetInfoLevel( InfoWarning, 0 );
120123
InsertObjectInMultiFunctor( Functor_Hom_for_fp_modules, 2, Y, "TensorY" );
124+
SetInfoLevel( InfoWarning, 1 );
121125

122126
II_E := GrothendieckSpectralSequence( Functor_TensorY_for_fp_modules, LeftDualizingFunctor( Qxyz ), W );
123127

@@ -127,4 +131,4 @@ ByASmallerPresentation( filt );
127131

128132
m := IsomorphismOfFiltration( filt );
129133

130-
Display( StringTime( homalgTime( Qxyz ) ) );
134+
#Display( StringTime( homalgTime( Qxyz ) ) );

ExamplesForHomalg/examples/Filtration.g

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Read( "ReducedBasisOfModule.g" );
1+
ReadPackage( "ExamplesForHomalg", "examples/ReducedBasisOfModule.g" );
22

33
V := Hom( Qxyz, W );
44

ExamplesForHomalg/examples/Grothendieck-SpectralCosequence.g

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Read( "ReducedBasisOfModule.g" );
1+
ReadPackage( "ExamplesForHomalg", "examples/ReducedBasisOfModule.g" );
22

33
## compute a free resolution of W as a right module
44
P := Resolution( W );

ExamplesForHomalg/examples/Grothendieck.g

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Read( "ReducedBasisOfModule.g" );
1+
ReadPackage( "ExamplesForHomalg", "examples/ReducedBasisOfModule.g" );
22

33
II_E := GrothendieckSpectralSequence( RightDualizingFunctor( Qxyz ), LeftDualizingFunctor( Qxyz ), W );
44

ExamplesForHomalg/examples/Janet.g

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ filt := PurityFiltration( W );
2121

2222
m := IsomorphismOfFiltration( filt );
2323

24-
Display( StringTime( homalgTime( Qxyz ) ) );
24+
#Display( StringTime( homalgTime( Qxyz ) ) );

ExamplesForHomalg/examples/Macaulay.g

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ filt := PurityFiltration( M );
2727

2828
m := IsomorphismOfFiltration( filt );
2929

30-
Display( StringTime( homalgTime( R ) ) );
30+
#Display( StringTime( homalgTime( R ) ) );

ExamplesForHomalg/examples/Oscar/Purity.g

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,12 +179,12 @@
179179
## </Subsection>
180180
## <#/GAPDoc>
181181

182-
Read( "ReducedBasisOfModule.g" );
182+
ReadPackage( "ExamplesForHomalg", "examples/Oscar/ReducedBasisOfModule.g" );
183183

184184
filt := PurityFiltration( W );
185185

186186
II_E := SpectralSequence( filt );
187187

188188
m := IsomorphismOfFiltration( filt );
189189

190-
Display( StringTime( homalgTime( Qxyz ) ) );
190+
#Display( StringTime( homalgTime( Qxyz ) ) );

ExamplesForHomalg/examples/Purity.g

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,12 +179,12 @@
179179
## </Subsection>
180180
## <#/GAPDoc>
181181

182-
Read( "ReducedBasisOfModule.g" );
182+
ReadPackage( "ExamplesForHomalg", "examples/ReducedBasisOfModule.g" );
183183

184184
filt := PurityFiltration( W );
185185

186186
II_E := SpectralSequence( filt );
187187

188188
m := IsomorphismOfFiltration( filt );
189189

190-
Display( StringTime( homalgTime( Qxyz ) ) );
190+
#Display( StringTime( homalgTime( Qxyz ) ) );

ExamplesForHomalg/examples/S1A1_Purity.g

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Read( "Mixed.g" );
1+
ReadPackage( "ExamplesForHomalg", "examples/Mixed.g" );
22

33
filt := PurityFiltration( V );
44

ExamplesForHomalg/examples/SpectralCosequence.g

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Read( "ReducedBasisOfModule.g" );
1+
ReadPackage( "ExamplesForHomalg", "examples/ReducedBasisOfModule.g" );
22

33
## compute a free resolution of W
44
P := Resolution( W );

ExamplesForHomalg/examples/SpectralSequence.g

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Read( "ReducedBasisOfModule.g" );
1+
ReadPackage( "ExamplesForHomalg", "examples/ReducedBasisOfModule.g" );
22

33
## compute a free resolution of W as a right module
44
P := Resolution( W );

ExamplesForHomalg/examples/TorExt.g

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
## </Subsection>
124124
## <#/GAPDoc>
125125

126-
Read( "ReducedBasisOfModule.g" );
126+
ReadPackage( "ExamplesForHomalg", "examples/ReducedBasisOfModule.g" );
127127

128128
## compute a free resolution of W
129129
P := Resolution( W );
@@ -146,4 +146,4 @@ ByASmallerPresentation( filt );
146146

147147
m := IsomorphismOfFiltration( filt );
148148

149-
Display( StringTime( homalgTime( Qxyz ) ) );
149+
#Display( StringTime( homalgTime( Qxyz ) ) );

ExamplesForHomalg/examples/TorExt_Grothendieck.g

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
## </Subsection>
116116
## <#/GAPDoc>
117117

118-
Read( "ReducedBasisOfModule.g" );
118+
ReadPackage( "ExamplesForHomalg", "examples/ReducedBasisOfModule.g" );
119119

120120
InsertObjectInMultiFunctor( Functor_TensorProduct_for_fp_modules, 2, W, "TensorW" );
121121

@@ -127,4 +127,4 @@ ByASmallerPresentation( filt );
127127

128128
m := IsomorphismOfFiltration( filt );
129129

130-
Display( StringTime( homalgTime( Qxyz ) ) );
130+
#Display( StringTime( homalgTime( Qxyz ) ) );

ExamplesForHomalg/examples/TorExt_via_Hom(P,P).g

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Read( "ReducedBasisOfModule.g" );
1+
ReadPackage( "ExamplesForHomalg", "examples/ReducedBasisOfModule.g" );
22

33
## compute a free resolution of W
44
P := Resolution( W );
@@ -20,4 +20,4 @@ ByASmallerPresentation( filt );
2020

2121
m := IsomorphismOfFiltration( filt );
2222

23-
Display( StringTime( homalgTime( Qxyz ) ) );
23+
#Display( StringTime( homalgTime( Qxyz ) ) );

ExamplesForHomalg/examples/Triangle.g

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Read( "ReducedBasisOfModule.g" );
1+
ReadPackage( "ExamplesForHomalg", "examples/ReducedBasisOfModule.g" );
22

33
triangle := RHom( C, T );
44
lecs := LongSequence( triangle );
@@ -13,4 +13,4 @@ ByASmallerPresentation( lehs );
1313
homalgResetFilters( lehs );
1414
Assert( 0, IsExactSequence( lehs ) );
1515

16-
Display( StringTime( homalgTime( Qxyz ) ) );
16+
#Display( StringTime( homalgTime( Qxyz ) ) );

ExamplesForHomalg/tst/MAGMA.tst

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
#@exec LoadPackage( "ExamplesForHomalg", false );
2+
#@exec LoadPackage( "IO_ForHomalg", false );
3+
4+
gap> LoadPackage( "ExamplesForHomalg", false );
5+
true
6+
gap> LoadPackage( "IO_ForHomalg", false );
7+
true
8+
gap> HOMALG_IO.show_banners := false;;
9+
10+
#@if IsBound( TryLaunchCAS_IO_ForHomalg( HOMALG_IO_MAGMA ).stdout )
11+
gap> HOMALG_RINGS.RingOfIntegersDefaultCAS := "MAGMA";;
12+
gap> HOMALG_RINGS.FieldOfRationalsDefaultCAS := "MAGMA";;
13+
gap> ReadPackage( "ExamplesForHomalg" , "examples/Purity.g" );
14+
true
15+
gap> ReadPackage( "ExamplesForHomalg" , "examples/TorExt.g" );
16+
true
17+
gap> ReadPackage( "ExamplesForHomalg" , "examples/ExtExt.g" );
18+
true
19+
gap> ReadPackage( "ExamplesForHomalg" , "examples/Triangle.g" );
20+
true
21+
gap> ReadPackage( "ExamplesForHomalg" , "examples/Complexes.g" );
22+
true
23+
gap> ReadPackage( "ExamplesForHomalg" , "examples/EdW.g" );
24+
true
25+
gap> ReadPackage( "ExamplesForHomalg" , "examples/Auslander-Buchsbaum.g" );
26+
true
27+
gap> ReadPackage( "ExamplesForHomalg" , "examples/Gcd_UsingCayleyDeterminant.g" );
28+
true
29+
gap> ReadPackage( "ExamplesForHomalg" , "examples/SimplerEquivalentMatrix.g" );
30+
true
31+
gap> HOMALG_RINGS.RingOfIntegersDefaultCAS := "Singular";;
32+
gap> HOMALG_RINGS.FieldOfRationalsDefaultCAS := "Singular";;
33+
#@fi

ExamplesForHomalg/tst/Maple.tst

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
#@exec LoadPackage( "ExamplesForHomalg", false );
2+
#@exec LoadPackage( "IO_ForHomalg", false );
3+
4+
gap> LoadPackage( "ExamplesForHomalg", false );
5+
true
6+
gap> LoadPackage( "IO_ForHomalg", false );
7+
true
8+
gap> HOMALG_IO.show_banners := false;;
9+
10+
#@if IsBound( TryLaunchCAS_IO_ForHomalg( HOMALG_IO_Maple ).stdout )
11+
gap> HOMALG_RINGS.RingOfIntegersDefaultCAS := "Maple";;
12+
gap> HOMALG_RINGS.FieldOfRationalsDefaultCAS := "Maple";;
13+
gap> ReadPackage( "ExamplesForHomalg", "examples/Purity.g" );
14+
true
15+
gap> ReadPackage( "ExamplesForHomalg", "examples/A3_Purity.g" );
16+
true
17+
gap> ReadPackage( "ExamplesForHomalg", "examples/Eliminate.g" );
18+
true
19+
gap> ReadPackage( "ExamplesForHomalg", "examples/Auslander-Buchsbaum.g" );
20+
true
21+
gap> ReadPackage( "ExamplesForHomalg", "examples/HilbertPolynomial.g" );
22+
true
23+
gap> ReadPackage( "ExamplesForHomalg", "examples/Gcd_UsingCayleyDeterminant.g" );
24+
true
25+
gap> ReadPackage( "ExamplesForHomalg", "examples/SimplerEquivalentMatrix.g" );
26+
true
27+
gap> ReadPackage( "ExamplesForHomalg", "examples/FoSys_HoEq_Janet.g" );
28+
true
29+
gap> ReadPackage( "ExamplesForHomalg", "examples/FoSys_HoEq_JanetOre.g" );
30+
true
31+
gap> ReadPackage( "ExamplesForHomalg", "examples/DerShift.g" );
32+
true
33+
gap> HOMALG_RINGS.RingOfIntegersDefaultCAS := "Singular";;
34+
gap> HOMALG_RINGS.FieldOfRationalsDefaultCAS := "Singular";;
35+
#@fi

0 commit comments

Comments
 (0)