1 # -*-Perl-*- Test Harness script for Bioperl
10 test_begin(-tests => 4);
12 use_ok('Bio::Tools::IUPAC');
18 my $ambiseq = Bio::Seq->new(-seq => 'ARTCGTTGR',
21 my $stream = Bio::Tools::IUPAC->new('-seq' => $ambiseq);
22 is $stream->count(), 4;
25 while (my $uniqueseq = $stream->next_seq()) {
26 if( ! $uniqueseq->isa('Bio::Seq') ) {
28 last; # no point continuing if we get here