Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davisking/dlib
/ test_range_with_negative_elements
Function
test_range_with_negative_elements
tools/python/test/test_range.py:34–38 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
32
33
34
def
test_range_with_negative_elements():
35
with
raises(TypeError):
36
range(-1, 1)
37
with
raises(TypeError):
38
range(1, -1)
39
40
41
def
test_ranges():
Callers
nothing calls this directly
Calls
1
range
Function · 0.90
Tested by
no test coverage detected