Skip to content
Snippets Groups Projects
Commit 7a8d5033 authored by Graham McVicker's avatar Graham McVicker
Browse files

added test for new seq_region_Slice method

parent f8270673
No related branches found
No related tags found
......@@ -5,7 +5,7 @@ use lib 't';
BEGIN { $| = 1;
use Test;
plan tests => 47;
plan tests => 48;
}
use TestUtils qw( debug );
......@@ -332,3 +332,11 @@ ok($a == 234371
&& $gc_content == 48.59
&& $a+$c+$t+$g+$n == $slice->length);
$slice = $slice_adaptor->fetch_by_region('chromosome', '20', 10, 30);
my $sr_slice = $slice->seq_region_Slice();
ok($sr_slice->start() == 1 &&
$sr_slice->end() == $slice->seq_region_length() &&
$sr_slice->strand() == 1);
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment