### ----------------------------------------------------
### -- Slang::Emoji
### -- Licenses: Artistic-2.0
### -- Authors: Elizabeth Mattijsen
### -- File: t/01-basic.rakutest
### ----------------------------------------------------
use Test;
use Slang::Emoji;

plan 4;

my 👍 = 42;
is 👍, 42, 'does it work with scalars';
is 👍 + 👍, 84, 'does it work with expressions';

my @a = ^100;
is @a[👍], 42, 'can we use it as an index';

my %h = 👍 => 666;
is %h{👍}, 666, 'can we use it as a key';

# vim: expandtab sw=4


