MCPcopy Create free account
hub / github.com/microsoft/debugpy / test_in_range

Function test_in_range

tests/tests/test_patterns.py:112–118  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

110
111
112def test_in_range():
113 pattern = some.int.in_range(-5, 5)
114 log_repr(pattern)
115
116 assert all([pattern == x for x in range(-5, 5)])
117 assert pattern != -6
118 assert pattern != 5
119
120
121def test_str():

Callers

nothing calls this directly

Calls 3

log_reprFunction · 0.85
allFunction · 0.85
in_rangeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…