MCPcopy Create free account
hub / github.com/davisking/dlib / test_array_extend

Function test_array_extend

tools/python/test/test_array.py:74–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72
73
74def test_array_extend():
75 a = array()
76 a.extend([0, 1, 2, 3, 4])
77 assert len(a) == 5
78 for idx, val in enumerate(a):
79 assert idx == val
80 assert type(val) == FloatType
81
82
83def test_array_string_representations_empty():

Callers

nothing calls this directly

Calls 3

arrayClass · 0.90
lenFunction · 0.85
typeEnum · 0.50

Tested by

no test coverage detected