1 # -*-Perl-*- Test Harness script for Bioperl
9 test_begin(-tests => 6);
11 use_ok('Bio::SeqIO::metafasta');
14 my $verbose = test_debug();
16 my $io = Bio::SeqIO->new(-format => 'metafasta',
18 -file => test_input_file('test.metafasta'));
20 isa_ok($io, 'Bio::SeqIO');
21 ok(my $seq = $io->next_seq);
22 isa_ok($seq, 'Bio::Seq::Meta');
23 is($seq->seq, "ABCDEFHIJKLMNOPQRSTUVWXYZ");
24 is($seq->display_id,'test');