26 lines
412 B
Text
26 lines
412 B
Text
|
|
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
|
|
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
|