### ----------------------------------------------------
### -- List::MoreUtils
### -- Licenses: Artistic-2.0
### -- Authors: Elizabeth Mattijsen
### -- File: t/all.rakutest
### ----------------------------------------------------
use Test;
use List::MoreUtils <all>;

plan 4;

my @list = 1 .. 10000;
is all( *.defined, @list), True, 'all elements defined';
is all( * > 0, @list), True, 'all elements larger than 0';
is all( * < 5000, @list), False, 'not all elements smaller than 5000';
is all( { False }, []), True, 'empty list returns True always';

# vim: expandtab shiftwidth=4


