1 # -*-Perl-*- Test Harness script for Bioperl
9 test_begin(-tests => 11);
11 use_ok('Bio::Tools::Signalp');
16 my $verbose = test_debug();
24 # negative example without "YES" features
26 ok $infile = test_input_file('signalp.negative.out');
27 ok $parser = Bio::Tools::Signalp->new(-file=>$infile, -verbose=>$verbose);
29 while ( my $feat = $parser->next_result ) {
33 is $parser->_seqname, 'my_fasta_id';
34 is $parser->_fact1, 'NO';
36 # positive example with "YES" features
38 ok $infile = test_input_file('signalp.positive.out');
39 ok $parser = Bio::Tools::Signalp->new(-file=>$infile, -verbose=>$verbose);
42 # The current module does NOT parse stuff properly
43 # It is probably from version 2 but version 3 is used today
44 # This has to be investigated!!!! --Torsten
45 # FIXME / TODO? / BUG / ***
48 while ( my $feat = $parser->next_result ) {
52 is $parser->_seqname, 'my_fasta_id';
53 is $parser->_fact1, 'YES';