git-timecost/spec/range_list_spec.rb
2014-09-26 09:42:09 +02:00

26 lines
421 B
Ruby

require_relative 'spec_helper'
require 'timecost/range_list'
describe TimeCost::RangeList do
let(:list) { TimeCost::RangeList.new }
describe '.new' do
it "can be created without arguments" do
assert_instance_of TimeCost::RangeList, list
end
end
it "is empty at start" do
end
it "can insert ranges" do
end
it "can merge overlapping ranges" do
end
it "cumulates non-overlapping ranges" do
end
end