1 # -*-Perl-*- Test Harness script for Bioperl
11 test_begin(-tests => 18);
13 use_ok('Bio::SeqFeature::Primer');
16 my ($primer, $location, $start, $end, $strand, $id, $tm, $tme);
18 ok $primer=Bio::SeqFeature::Primer->new(-seq=>'CTTTTCATTCTGACTGCAACG');
19 is $primer->seq->seq, "CTTTTCATTCTGACTGCAACG";
20 is $primer->primary_tag, "Primer";
21 ok $location=$primer->location(500);
23 ok $start=$primer->start(2);
25 ok $end=$primer->end(19);
27 ok $strand=$primer->strand(-1);
29 ok $id=$primer->display_id('test');
32 ok $tme = $primer->Tm_estimate;