Sha256: d9c16c71bb0de25a390e91b2670beb5923e843e4ed3dd7309963e4ac4be13c04
Contents?: true
Size: 554 Bytes
Versions: 2
Compression:
Stored size: 554 Bytes
Contents
Then /^the alignment block is marked as filtered$/ do @block.filtered?.should be_true end Then /^(\d+) gaps? (?:is|are) found with length \[(\d+)\]$/ do |n_gaps, gap_sizes_s| gaps = @block.find_gaps gaps.size.should == n_gaps.to_i e_gap_sizes = gap_sizes_s.split(/,\s*/).collect { |n| n.to_i } gap_sizes = gaps.collect { |gap| gap[1] } gap_sizes.should == e_gap_sizes end When /^gaps are removed$/ do @block.remove_gaps! end Then /^the text size of the block is (\d+)$/ do |e_text_size| @block.text_size.should == e_text_size.to_i end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bio-maf-0.2.0-java | features/step_definitions/gap_removal_steps.rb |
bio-maf-0.2.0 | features/step_definitions/gap_removal_steps.rb |