Gedichte
Musik
Bilder
Quellcodebibliothek
Diashow
Normaldarstellung
Quellcodebibliothek
Statistik
Leitseite
products
/
Sources
/
formale Sprachen
/
C
/
LibreOffice
/
svgio
/
qa
/
cppunit
/
data
/ (
Office von Apache
Version 25.8.3.2
©
) Datei vom 5.10.2025 mit Größe 936 B
Bilddatei
testall.g
products/Sources/formale Sprachen/GAP/pkg/monoidalcategories/tst/testall.g
# SPDX-License-Identifier: GPL-2.0-or-later # MonoidalCategories: Monoidal and monoidal (co)closed categories # # This file runs package tests. It is also referenced in the package # metadata in PackageInfo.g. # options := rec( exitGAP := true, testOptions := rec( compareFunction := "uptowhitespace", ), ); # reverse RecNames 50% of the time to detect code relying on the order of RecNames if Random( RandomSource( IsMersenneTwister, NanosecondsSinceEpoch( ) ), [ false, true ] ) then Display( "Executing with reversed RecNames" ); MakeReadWriteGlobal( "RecNames" ); old_RecNames := RecNames; RecNames := record -> Reversed( old_RecNames( record ) ); MakeReadOnlyGlobal( "RecNames" ); else Display( "Executing with non-reversed RecNames" ); fi; TestDirectory( DirectoriesPackageLibrary( "MonoidalCategories", "tst" ), options ); FORCE_QUIT_GAP( 1 ); # if we ever get here, there was an error
2026-04-02