### ----------------------------------------------------
### -- P5length
### -- Licenses: Artistic-2.0
### -- Authors: Elizabeth Mattijsen
### -- File: t/01-basic.rakutest
### ----------------------------------------------------
use v6.*;
use Test;
use P5length;

plan 4;

ok defined(::('&length')),          'is &length imported?';

is length("foobar"), 6, 'did we get the right length';
with "foobar" { is .&length, 6, 'did we get the right length implicitely' }
is-deeply length(Str), Str, 'did we get the right type object';

# vim: expandtab shiftwidth=4


