1gap> START_TEST("ListBlist.tst");
2
3#
4gap> ListBlist([],[false,true]);
5Error, ListBlist: <blist> must have the same length as <list> (lengths are 2 a\
6nd 0)
7gap> ListBlist([],[1,2]);
8Error, ListBlist: <blist> must be a boolean list (not a plain list of cyclotom\
9ics)
10gap> ListBlist([],[]);
11[  ]
12gap> ListBlist([1,2],[false,true]);
13[ 2 ]
14gap> ListBlist([false,true],[false,true]);
15[ true ]
16gap> ListBlist([1..5],[false,true,false,true,false]);
17[ 2, 4 ]
18gap> ListBlist([1..5],[true,false,true,false,true]);
19[ 1, 3, 5 ]
20
21#
22gap> STOP_TEST("ListBlist.tst", 1);
23