1 # -*-Perl-*- Test Harness script for Bioperl
10 test_begin(-tests => 9);
12 use_ok('Bio::SeqIO::pir');
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 ');
22 isa_ok ($str, 'Bio::SeqIO');
24 my $out = Bio::SeqIO->new(-format => 'pir',
27 while (my $seq = $str->next_seq()) {
28 ok( $seq->length > 1, 'checked length');
29 $out->write_seq($seq) if $verbose > 0;