1 # -*-Perl-*- Test Harness script for Bioperl
10 test_begin(-tests => 11);
12 use_ok('Bio::Tools::Signalp');
17 my $verbose = test_debug();
25 # negative example without "YES" features
27 ok $infile = test_input_file('signalp.negative.out');
28 ok $parser = Bio::Tools::Signalp->new(-file=>$infile, -verbose=>$verbose);
30 while ( my $feat = $parser->next_result ) {
34 is $parser->_seqname, 'my_fasta_id';
35 is $parser->_fact1, 'NO';
37 # positive example with "YES" features
39 ok $infile = test_input_file('signalp.positive.out');
40 ok $parser = Bio::Tools::Signalp->new(-file=>$infile, -verbose=>$verbose);
43 # The current module does NOT parse stuff properly
44 # It is probably from version 2 but version 3 is used today
45 # This has to be investigated!!!! --Torsten
46 # FIXME / TODO? / BUG / ***
49 while ( my $feat = $parser->next_result ) {
53 is $parser->_seqname, 'my_fasta_id';
54 is $parser->_fact1, 'YES';