Skip to content

Commit fa301ea

Browse files
author
Leo
committed
Resolving issues which came up for the test files because of the new structure of loading the package
1 parent a938a32 commit fa301ea

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

tst/no_solver.tst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
gap> OldHeLPInfoLevel := InfoLevel(HeLP_Info);;
22
gap> SetInfoLevel(HeLP_Info, 1);
33

4-
gap> HeLP_ZC(CyclicGroup(6));
5-
#I Since the given group is nilpotent the Zassenhaus Conjecture holds by a result of Al Weiss.
6-
true
7-
84
gap> C := CharacterTable("M22");;
95
gap> HeLP_WagnerTest(12, [ [ [1], [1], [1,0], [0,0,1], [-3,3,2,3,-4] ] ],C);
106
[ ]
117

8+
gap> HeLP_WriteTrivialSolution(C, 6);
9+
[ [ [ 1 ], [ 1 ], [ 0, 0, 1 ] ] ]
10+
11+
gap> HeLP_MultiplicitiesOfEigenvalues(Irr(C)[3], 6, HeLP_sol[6][1]);
12+
[ 7, 8, 7, 8, 7, 8 ]
13+
1214
gap> HeLP_Reset();
1315
gap> HeLP_sol;
1416
[ [ [ [ 1 ] ] ] ]

tst/testall.g

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ LoadPackage( pkgname );
44
pkgdir := DirectoriesPackageLibrary( pkgname, "tst" );
55

66
testresult := true;
7-
if LoadPackage("NormalizInterface") <> fail then
7+
if TestPackageAvailability("NormalizInterface") = true then
88
Print("normaliz found\n");
99
fn := Filename( pkgdir, "yes_normaliz.tst" );
1010
Print("#I Testing ", fn, "\n");
@@ -13,7 +13,7 @@ if LoadPackage("NormalizInterface") <> fail then
1313
fi;
1414
fi;
1515

16-
if Filename(DirectoriesSystemPrograms(), "zsolve") <> fail then
16+
if TestPackageAvailability("4ti2Interface") = true and Filename(DirectoriesSystemPrograms(), "zsolve") <> fail then
1717
Print("4ti2 found\n");
1818
fn := Filename( pkgdir, "yes_4ti2.tst" );
1919
Print("#I Testing ", fn, "\n");
@@ -22,7 +22,7 @@ if Filename(DirectoriesSystemPrograms(), "zsolve") <> fail then
2222
fi;
2323
fi;
2424

25-
if Filename(DirectoriesSystemPrograms(), "zsolve") = fail and LoadPackage("NormalizInterface") = fail then
25+
if Filename(DirectoriesSystemPrograms(), "zsolve") = fail and not TestPackageAvailability("NormalizInterface") = true then
2626
fn := Filename( pkgdir, "no_solver.tst" );
2727
Print("No solver found\n");
2828
if not Test( fn, rec(compareFunction := "uptowhitespace") ) then

0 commit comments

Comments
 (0)