Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 


Quelle  EmptyPlist.tst   Sprache: unbekannt

 
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.14 Sekunden  (vorverarbeitet)  ]

                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Produkte
     Quellcodebibliothek

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Monitoring

Montastic status badge