MCPcopy 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
95def test_array_clear():
96 a = array(10)
97 a.clear()
98 assert len(a) == 0
99
100
101def test_array_resize():

Callers

nothing calls this directly

Calls 3

arrayClass · 0.90
lenFunction · 0.85
clearMethod · 0.45

Tested by

no test coverage detected