Skip to content

Commit

Permalink
Some more tests for the fixed Remove method.
Browse files Browse the repository at this point in the history
  • Loading branch information
frankluebeck committed Apr 28, 2016
1 parent 26f207e commit 89dd011
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions tst/teststandard/bugfix.tst
Original file line number Diff line number Diff line change
Expand Up @@ -3049,8 +3049,18 @@ gap> G:=Group((1,2,3,4));;Factorization(G,Elements(G)[1]);
gap> l := [1,,,5];;
gap> Remove(l);
5
gap> l;
[ 1 ]
gap> [l, Length(l)];
[ [ 1 ], 1 ]
gap> l := [,,,"x"];;
gap> Remove(l);
"x"
gap> [l, Length(l)];
[ [ ], 0 ]
gap> l := [1,2,,[],"x"];;
gap> Remove(l);
"x"
gap> [l, Length(l)];
[ [ 1, 2,, [ ] ], 4 ]

#############################################################################
gap> STOP_TEST( "bugfix.tst", 831990000);
Expand Down

0 comments on commit 89dd011

Please sign in to comment.