Collections\IntervalTreeTests.cs (13)
99Assert.True(Set("A").SetEquals(spans));
110Assert.True(Set("A").SetEquals(spans));
121Assert.True(Set("A").SetEquals(spans));
132Assert.True(Set("A").SetEquals(spans));
143Assert.True(Set("A").SetEquals(spans));
154Assert.True(Set("A").SetEquals(spans));
165Assert.True(Set("A").SetEquals(spans));
180Assert.True(Set("A").SetEquals(tree.GetIntervalsThatOverlapWith(6, 2).Select(i => i.Item3)));
181Assert.True(Set("B").SetEquals(tree.GetIntervalsThatOverlapWith(16, 2).Select(i => i.Item3)));
184Assert.True(Set("A", "B").SetEquals(tree.GetIntervalsThatOverlapWith(2, 20).Select(i => i.Item3)));
185Assert.True(Set("A", "B").SetEquals(tree.GetIntervalsThatOverlapWith(2, 14).Select(i => i.Item3)));
186Assert.True(Set("A", "B").SetEquals(tree.GetIntervalsThatOverlapWith(6, 10).Select(i => i.Item3)));
187Assert.True(Set("A", "B").SetEquals(tree.GetIntervalsThatOverlapWith(6, 20).Select(i => i.Item3)));