1 # -*-Perl-*- Test Harness script for Bioperl
9 test_begin(-tests => 8);
11 use_ok('Bio::SeqIO::tab');
14 my $verbose = test_debug();
16 my $io = Bio::SeqIO->new(-format => 'tab',
18 -file => test_input_file('test.tab'));
19 isa_ok($io, 'Bio::SeqIO');
21 while (my $seq = $io->next_seq) {
22 ok ( $seq && defined $seq, 'seq is defined' ) ;
23 is ( $seq->length, 358, 'check seq length' ) ;
24 like ($seq->display_id, qr/^roa\d_drome$/, 'check matching' );