Skip to content
Snippets Groups Projects
Commit 590d9a35 authored by Glenn Proctor's avatar Glenn Proctor
Browse files

Added tests for list_dbIDs and list_stable_dbIDs.

parent 5e6a89c1
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ use warnings;
BEGIN { $| = 1;
use Test;
plan tests => 36;
plan tests => 38;
}
use MultiTestDB;
......@@ -29,6 +29,14 @@ ok( $db );
my $gene;
my $ga = $db->get_GeneAdaptor();
debug ("Gene->list_dbIDs");
my $ids = $ga->list_dbIDs();
ok (@{$ids});
debug ("Gene->list_stable_dbIDs");
my $stable_ids = $ga->list_stable_dbIDs();
ok (@{$stable_ids});
$gene = $ga->fetch_by_stable_id( "ENSG00000171456" );
debug( "Gene->fetch_by_stable_id()" );
......
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