### ----------------------------------------------------
### -- Locale::US
### -- Licenses: Artistic-2.0
### -- Authors: 
### -- File: t/00-locale-us.rakutest
### ----------------------------------------------------
use Locale::US;
use Test;

plan 60;

my @states = all-state-names;
my @codes = all-state-codes;
ok +@states == +@codes, 'Must be the same number of states and codes';

# round-tripping states->codes->states works
for @states -> $s {
    my $c = state-to-code($s);
    my $s2 = code-to-state($c);
    is $s, $s2, "State $s -> $c -> $s2";
}

# vim: expandtab shiftwidth=4


