#!perl6
use v6;
use Test;

use lib 'lib';
use Audio::Encode::LameMP3;

my $obj;

lives-ok { $obj = Audio::Encode::LameMP3.new }, "create a new Audio::Encode::LameMP3";
isa-ok($obj, Audio::Encode::LameMP3, 'and it is the right sort of object');
my $v;
lives-ok { $v = $obj.lame-version }, "get lame version";
isa-ok($v, Version, "and it is a version");
diag "testing with lame version " ~ $v;

done-testing;

# vim: expandtab shiftwidth=4 ft=perl6
