[16ef6d]: t / 022.mask.t  Maximize  Restore  History

Download this file

22 lines (15 with data), 401 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/perl
#Editor vim:syn=perl
use strict;
use warnings;
use Test::More 'no_plan';
use lib 'lib';
use Panotools::Script;
use Panotools::Script::Line::Mask;
my $p = new Panotools::Script;
$p->Read ('t/data/cemetery/hugin.pto');
ok (scalar @{$p->Mask} == 1);
ok ($p->Mask->[0]->{i} == 2);
ok ($p->Mask->[0]->{t} == 0);
ok ($p->Mask->[0]->{p} =~ /^"[ 0-9.-]+"$/);
ok ($p->Mask->[0]->Report);

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks