提交 726b35bd 编写于 作者: S SparrowLii

correct the test if IntervalSet

上级 65a5b082
......@@ -2,7 +2,7 @@
#[test]
fn insert_collapses() {
let mut set = IntervalSet::<u32>::new(3000);
let mut set = IntervalSet::<u32>::new(10000);
set.insert_range(9831..=9837);
set.insert_range(43..=9830);
assert_eq!(set.iter_intervals().collect::<Vec<_>>(), [43..9838]);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册