git-timecost/spec/range_list_spec.cr

26 lines
406 B
Crystal

require "./spec_helper"
require "../src/timecost/range_list"
describe TimeCost::RangeList do
list = TimeCost::RangeList.new
describe ".new" do
it "can be created without arguments" do
list.should be_a(TimeCost::RangeList)
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