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