Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/GAP/tst/testinstall/opers/   (Algebra von RWTH Aachen Version 4.15.1©)  Datei vom 18.9.2025 mit Größe 771 B image not shown  

Quelle  EmptyPlist.tst   Sprache: unbekannt

 
Spracherkennung für: .tst vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

gap> START_TEST("EmptyPlist.tst");

#
gap> EmptyPlist(-1);
Error, EmptyPlist: <len> must be a non-negative small integer (not the integer\
 -1)
gap> EmptyPlist(-(2^100));
Error, EmptyPlist: <len> must be a non-negative small integer (not a large neg\
ative integer)
gap> EmptyPlist( () );
Error, EmptyPlist: <len> must be a non-negative small integer (not a permutati\
on (small))
gap> EmptyPlist();
Error, Function: number of arguments must be 1 (not 0)
gap> EmptyPlist(2^100);
Error, EmptyPlist: <len> must be a non-negative small integer (not a large pos\
itive integer)
gap> l := EmptyPlist(10);
[  ]
gap> l = EmptyPlist(0);
true
gap> l = [];
true
gap> l[5] := 5;;
gap> l;
[ ,,,, 5 ]
gap> l[12] := 2;;
gap> l;
[ ,,,, 5,,,,,,, 2 ]

#
gap> STOP_TEST("EmptyPlist.tst");

[ Dauer der Verarbeitung: 0.35 Sekunden  ]