### ----------------------------------------------------
### -- License::SPDX
### -- Licenses: Artistic-2.0
### -- Authors: Jonathan Stowe <jns+gh@gellyfish.co.uk>
### -- File: t/020-methods.t
### ----------------------------------------------------
#!/usr/bin/env raku

use v6;

use Test;

use License::SPDX;

my License::SPDX $lic;

lives-ok { $lic = License::SPDX.new }, "new from data";

for $lic.license-ids -> $id {
    ok my $l = $lic.get-license($id), "Licence '$id' exists";
}


done-testing;
# vim: expandtab shiftwidth=4 ft=raku


