Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/GAP/pkg/example/tst/   (Algebra von RWTH Aachen Version 4.15.1©)  Datei vom 20.5.2025 mit Größe 933 B image not shown  

Quelle  testall.g   Sprache: unbekannt

 
LoadPackage( "example" );

# `TestDirectory` provides a convenient way to run collections of tests.
# It also simplifies adding new tests, because it automatically picks
# up all files having extension `.tst`
#
# It also ensures that it will display an information message that is
# needed to detect whether a test passed or failed in a number of automated
# settings.
#
# If you need to run some other tests in addition to `TestDirectory`,
# you code should analyse the outcome of the test, and then
# print an information using the string that looks exactly as shown below:
#
# if testresult 
#   Print("#I  No errors detected while testing"\n");
# else
#   Print("#I  Errors detected while testing\n");
# fi;
#
#
TestDirectory(DirectoriesPackageLibrary( "example", "tst" ),
  rec(exitGAP     := true,
      testOptions := rec(compareFunction := "uptowhitespace") ) );

FORCE_QUIT_GAP(1); # if we ever get here, there was an error

[ Dauer der Verarbeitung: 0.13 Sekunden  (vorverarbeitet)  ]