Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davisking/dlib
/ test_array_resize
Function
test_array_resize
tools/python/test/test_array.py:101–107 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
99
100
101
def
test_array_resize():
102
a = array(10)
103
a.resize(100)
104
assert len(a) == 100
105
106
for
i in range(100):
107
assert a[i] == 0
Callers
nothing calls this directly
Calls
4
array
Class · 0.90
len
Function · 0.85
range
Function · 0.50
resize
Method · 0.45
Tested by
no test coverage detected