3 # ## Bioperl Test Harness Script for Modules
8 test_begin
(-tests
=> 7);
9 use_ok
('Bio::Tools::Run::Prints');
14 my $db = test_input_file
("prints.dat");
15 my @params = ('DB' => $db);
17 my $factory = Bio
::Tools
::Run
::Prints
->new(@params);
18 isa_ok
$factory,'Bio::Tools::Run::Prints';
19 my $prot_file= test_input_file
('Prints_prot.FastA');
21 my $seq1 = Bio
::Seq
->new();
22 my $seqstream = Bio
::SeqIO
->new(-file
=> $prot_file, -fmt
=> 'Fasta');
23 $seq1 = $seqstream->next_seq();
26 test_skip
(-requires_executable
=> $factory,
28 my @feat = $factory->predict_protein_features($seq1);
30 isa_ok
$feat[0],'Bio::SeqFeatureI';
31 is
($feat[0]->start,29);
32 is
($feat[0]->end,53);