Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davisking/dlib
/ test_array_init_with_negative_number
Function
test_array_init_with_negative_number
tools/python/test/test_array.py:23–25 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
21
22
23
def
test_array_init_with_negative_number():
24
with
raises(Exception):
25
array(-5)
26
27
28
def
test_array_init_with_zero():
Callers
nothing calls this directly
Calls
1
array
Class · 0.90
Tested by
no test coverage detected