1 # -*-Perl-*- Test Harness script for Bioperl
10 test_begin(-tests => 8);
15 my $verbose = test_debug();
17 my $str = Bio::SeqIO->new(-file => test_input_file('seqfile.pir'),
21 ok ( defined $str, 'new instance is defined ');
23 my $out = Bio::SeqIO->new(-format => 'pir',
26 while (my $seq = $str->next_seq()) {
27 ok( $seq->length > 1, 'checked length');
28 $out->write_seq($seq) if $verbose > 0;