1 # -*-Perl-*- Test Harness script for Bioperl
9 test_begin(-tests => 6);
11 use_ok('Bio::Matrix::PSM::InstanceSite');
14 my %params=(-seq=>'TATAAT',-id=>"TATAbox1", -accession_number=>'ENSG00000122304', -mid=>'TB1',
15 -desc=>'TATA box, experimentally verified in PRM1 gene',-relpos=>-35, -start=>1965);
17 ok my $instance = Bio::Matrix::PSM::InstanceSite->new(%params);
18 is $instance->seq, 'TATAAT';
19 is $instance->subseq(1,3),'TAT';
20 is $instance->accession_number, 'ENSG00000122304';
21 is $instance->end(1970), 1970;