git-timecost/spec/range_list_spec.cr

27 lines
406 B
Crystal
Raw Normal View History

2023-07-11 16:52:48 +00:00
require "./spec_helper"
2023-07-11 16:52:48 +00:00
require "../src/timecost/range_list"
describe TimeCost::RangeList do
2023-07-12 09:37:12 +00:00
list = TimeCost::RangeList.new
2023-07-11 16:52:48 +00:00
describe ".new" do
it "can be created without arguments" do
2023-07-12 09:37:12 +00:00
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