MCPcopy Create free account
hub / github.com/chaimleib/intervaltree / test_remove_overlap

Function test_remove_overlap

test/intervaltree_methods/restructure_test.py:46–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44
45
46def test_remove_overlap():
47 t = IntervalTree.from_tuples(data.ivs1.data)
48 assert t[1]
49 t.remove_overlap(1)
50 assert not t[1]
51 t.verify()
52
53 assert t[8]
54 t.remove_overlap(8)
55 assert not t[8]
56 t.verify()
57
58
59# -----------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 3

from_tuplesMethod · 0.80
remove_overlapMethod · 0.80
verifyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…