git-timecost/spec/range_list_spec.nok

27 lines
412 B
Text
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-11 16:52:48 +00:00
list= TimeCost::RangeList.new
2023-07-11 16:52:48 +00:00
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