Skip to content
Snippets Groups Projects
Commit 4d64f744 authored by Asier Gonzalez's avatar Asier Gonzalez Committed by Marek Szuba
Browse files

Print results of outward search in outward search test

parent c435704f
No related branches found
No related tags found
2 merge requests!407Fix fetch_all_by_outward_search,!457Patch to support longer assembly names in the mapping session table.
......@@ -179,6 +179,7 @@ cmp_ok(scalar(@results), '==', 5, 'Upstream of reverse stranded feature gives al
# Test iterative search
@results = @{ $sfa->fetch_all_by_outward_search(-FEATURE => $a, -LIMIT => 5, -RANGE => 10, -MAX_RANGE => 140)};
print_what_you_got(\@results);
cmp_ok($results[2]->[0]->display_id, 'eq', 'b', 'Check for closest feature in initial search range');
ok(! defined $results[3], 'Feature $c is not found because it is out of the MAX_RANGE';
......
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