Sha256: aabfc01b4eb788ae380d7fe235cac921fe4ebb918ed634e671549806291f21c6
Contents?: true
Size: 361 Bytes
Versions: 13
Compression:
Stored size: 361 Bytes
Contents
#require 'bio-ucsc-api' Given /^I have a region with start (\d+) and end (\d+)$/ do |r_start, r_end| @r_start = r_start.to_i @r_end = r_end.to_i end When /^I compute the smallest containing bin$/ do @bin = Bio::Ucsc::UcscBin.bin_from_range(@r_start, @r_end) end Then /^the bin should be (\d+)$/ do |expected_bin| @bin.should == expected_bin.to_i end
Version data entries
13 entries across 13 versions & 1 rubygems