1 # -*-Perl-*- Test Harness script for Bioperl
10 test_begin(-tests => 8);
12 use_ok('Bio::Map::SimpleMap');
13 use_ok('Bio::Map::Position');
14 use_ok('Bio::Map::Microsatellite');
17 my $map = Bio::Map::SimpleMap->new(-units => 'MB',
19 my $position = Bio::Map::Position->new(-map => $map,
23 my $o_usat = Bio::Map::Microsatellite->new
24 (-name=>'Chad Super Marker 2',
25 -sequence => 'gctgactgatcatatatatatatatatatatatatatatatcgcgatcgtgatttt',
28 -repeat_start_position => 12,
29 -position => $position,
32 is($o_usat->get_leading_flank(), "gctgactgatc");
33 is($o_usat->get_trailing_flank(), "cgcgatcgtgatttt");
34 is($o_usat->motif(), 'at');
35 is($o_usat->repeats(), 15);
36 is($o_usat->repeat_start_position, 12);