CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

| Download

GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it

Views: 418346
##############################################################################
##
#W  testextra.g                    XMod Package                  Chris Wensley 
##
#Y  Copyright (C) 2000-2017, Chris Wensley et al,  
#Y  School of Computer Science, Bangor University, U.K. 
##  

LoadPackage( "xmod" );

pkgname := "xmod"; 
pkgdir := DirectoriesPackageLibrary( pkgname, "tst" );
testfiles := [ "allxmods.xtst", "cat1mor.xtst" ];
testresult := true;
for ff in testfiles do
    fn := Filename( pkgdir, ff );
    Print( "#I  Testing ", fn, "\n" );
    if not Test( fn, rec(compareFunction := "uptowhitespace") ) then
        testresult := false;
    fi;
od;
if testresult then
    Print("#I  No errors detected in extra tests for ", pkgname, "\n");
else
    Print("#I  Errors detected in extra tests for ", pkgname, "\n");
fi;