Skip to content

Commit

Permalink
Add START_TEST / STOP_TEST calls to two .tst files
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin authored and markuspf committed Jul 17, 2017
1 parent 63578a2 commit cd1ee06
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tst/testinstall/opers/EmptyPlist.tst
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
gap> START_TEST("EmptyPlist.tst");

#
gap> EmptyPlist(-1);
Error, <len> must be a non-negative small integer
gap> EmptyPlist(-(2^100));
Expand All @@ -20,3 +23,6 @@ gap> l;
gap> l[12] := 2;;
gap> l;
[ ,,,, 5,,,,,,, 2 ]

#
gap> STOP_TEST("EmptyPlist.tst", 1);
6 changes: 6 additions & 0 deletions tst/testinstall/opers/ListBlist.tst
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
gap> START_TEST("ListBlist.tst");

#
gap> ListBlist([],[false,true]);
Error, ListBlist: <blist> must have the same length as <list> (0)
gap> ListBlist([],[1,2]);
Expand All @@ -12,3 +15,6 @@ gap> ListBlist([1..5],[false,true,false,true,false]);
[ 2, 4 ]
gap> ListBlist([1..5],[true,false,true,false,true]);
[ 1, 3, 5 ]

#
gap> STOP_TEST("ListBlist.tst", 1);

0 comments on commit cd1ee06

Please sign in to comment.