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

Quelle  hashkeybag.tst   Sprache: unbekannt

 
#@local
gap> START_TEST("hashkeybag.tst");
gap> HashKeyBag((1,2),0,0,0);
0
gap> HashKeyBag([1,2,3],0,0,0);
0
gap> IsSmallIntRep(HashKeyBag([1,2,3],0,0,100));
true
gap> HashKeyBag([1,2,3],0,0,1000) = HashKeyBag([1,2,3],0,0,-1);
true
gap> HashKeyBag([1,2,3],0,0,1000) = HashKeyBag([1,2,3],0,0,2000);
true
gap> HashKeyBag([1,2,3],0,0,-1) = HashKeyWholeBag([1,2,3],0);
true
gap> HashKeyBag([1,2,3],-99,0,-1) = HashKeyWholeBag([1,2,3],-99);
true
gap> HashKeyBag([1,2,3],0,1,-1) <> HashKeyWholeBag([1,2,3],0);
true
gap> HashKeyBag((1,2),0,0,1) <> HashKeyBag((1,2),1,0,1);
true
gap> HashKeyBag((1,2),0,0,1) <> HashKeyBag((1,2),1,1,1);
true
gap> HashKeyBag((1,2),0,0,1) <> HashKeyBag((1,2),1,0,2);
true
gap> STOP_TEST("hashkeybag.tst");

[ Dauer der Verarbeitung: 0.12 Sekunden  (vorverarbeitet)  ]