The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
use bytes;
use strict;

use Test::More tests => 1+6;
use Test::NoWarnings;

use Net::IDN::UTS46 qw(:all);

is(uts46_to_ascii('müller'),'xn--mller-kva');
is(Net::IDN::UTS46::to_ascii('müller'),'xn--mller-kva');
is(Net::IDN::UTS46::uts46_to_ascii('müller'),'xn--mller-kva');

is(uts46_to_unicode('xn--mller-kva'),'müller');
is(Net::IDN::UTS46::to_unicode('xn--mller-kva'),'müller');
is(Net::IDN::UTS46::uts46_to_unicode('xn--mller-kva'),'müller');