File: country-test-my.t

package info (click to toggle)
libnumber-phone-perl 4.0008-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 41,772 kB
  • sloc: perl: 1,954; makefile: 6
file content (15 lines) | stat: -rw-r--r-- 275 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use strict;
use warnings;
use lib 't/inc';
use nptestutils;

use Number::Phone::Lib;
use Test::More;

{
    my $np = Number::Phone::Lib->new('601170002863');
    ok($np->is_valid, '+601170002863 is valid');
    ok($np->is_mobile, '... it is a mobile...');
}

done_testing();