MCPcopy Create free account
hub / github.com/grantjenks/python-sortedcontainers / test_ne

Function test_ne

tests/test_coverage_sortedset.py:86–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84 assert not (alpha == beta)
85
86def test_ne():
87 alpha = SortedSet(range(100))
88 alpha._reset(7)
89 beta = SortedSet(range(99))
90 beta._reset(17)
91 assert alpha != beta
92 beta.add(100)
93 assert alpha != beta
94 assert alpha != beta._set
95 assert alpha != list(range(101))
96
97def test_lt_gt():
98 temp = SortedSet(range(100))

Callers

nothing calls this directly

Calls 3

addMethod · 0.95
SortedSetClass · 0.90
_resetMethod · 0.45

Tested by

no test coverage detected