Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davisking/dlib
/ test_array_clear
Function
test_array_clear
tools/python/test/test_array.py:95–98 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
93
94
95
def
test_array_clear():
96
a = array(10)
97
a.clear()
98
assert len(a) == 0
99
100
101
def
test_array_resize():
Callers
nothing calls this directly
Calls
3
array
Class · 0.90
len
Function · 0.85
clear
Method · 0.45
Tested by
no test coverage detected