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

plan 7;

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

is fc('FOO'), 'foo', 'did we get a good foo';
is fc('foo'), 'foo', 'did we get same foo';
is fc(''),       '', 'did we get a good empty string';

with "BAR" { is .&fc, 'bar', 'did we get a good bar' }
with "bar" { is .&fc, 'bar', 'did we get same bar' }
with ""    { is .&fc, '',    'did we get a good empty string' }

# vim: expandtab shiftwidth=4


