Skip to content
Snippets Groups Projects
Commit 6a20ab40 authored by Magali Ruffier's avatar Magali Ruffier
Browse files

added test for new count_all_by_Slice method

parent 038e2473
No related branches found
No related tags found
No related merge requests found
......@@ -281,6 +281,15 @@ ok(@transcripts == 25);
$transcriptCount = $ta->count_all_by_biotype(['protein_coding', 'pseudogene']);
ok($transcriptCount == 25);
#
# test TranscriptAdaptor::fetch_all_by_Slice
#
note("Test fetch_all_by_Slice");
@transcripts = @{$ta->fetch_all_by_Slice($slice)};
$transcriptCount = $ta->count_all_by_Slice($slice);
is(@transcripts, $transcriptCount, "Counted as many transcripts as were fetched from slice");
#
# test TranscriptAdaptor::fetch_all_by_source
#
......
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