MCPcopy 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
159def 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
167def test_vectorss_extend():

Callers

nothing calls this directly

Calls 3

lenFunction · 0.85
rangeFunction · 0.50
resizeMethod · 0.45

Tested by

no test coverage detected