class ParallelTests::Grouper

def group_features_by_size(items, groups_to_fill)

def group_features_by_size(items, groups_to_fill)
  items.each do |item, size|
    size ||= 1
    smallest = smallest_group(groups_to_fill)
    add_to_group(smallest, item, size)
  end
end