Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davisking/dlib
/ test_vectorss_resize
Function
test_vectorss_resize
tools/python/test/test_vector.py:159–164 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
157
158
159
def
test_vectorss_resize():
160
vss = vectorss()
161
vss.resize(100)
162
assert len(vss) == 100
163
for
i in range(100):
164
assert len(vss[i]) == 0
165
166
167
def
test_vectorss_extend():
Callers
nothing calls this directly
Calls
3
len
Function · 0.85
range
Function · 0.50
resize
Method · 0.45
Tested by
no test coverage detected