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

Function test_array_init_with_tuple

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

Source from the content-addressed store, hash-verified

49
50
51def test_array_init_with_tuple():
52 a = array((0, 1, 2, 3, 4))
53 for idx, val in enumerate(a):
54 assert idx == val
55 assert type(val) == FloatType
56
57
58def test_array_serialization_empty():

Callers

nothing calls this directly

Calls 2

arrayClass · 0.90
typeEnum · 0.50

Tested by

no test coverage detected