Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davisking/dlib
/ test_array_init_with_zero
Function
test_array_init_with_zero
tools/python/test/test_array.py:28–30 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
26
27
28
def
test_array_init_with_zero():
29
a = array(0)
30
assert len(a) == 0
31
32
33
def
test_array_init_with_list():
Callers
nothing calls this directly
Calls
2
array
Class · 0.90
len
Function · 0.85
Tested by
no test coverage detected