MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / iteration_check

Function iteration_check

test_python/test_iterators.py:22–35  ·  view source on GitHub ↗
(
    a: Union[
        mrmesh.Vector3d,
        mrmesh.Vector3i,
        mrmesh.Vector3f,
        mrmesh.Vector2d,
        mrmesh.Vector2i,
        mrmesh.Vector2f,
    ]
)

Source from the content-addressed store, hash-verified

20
21
22def iteration_check(
23 a: Union[
24 mrmesh.Vector3d,
25 mrmesh.Vector3i,
26 mrmesh.Vector3f,
27 mrmesh.Vector2d,
28 mrmesh.Vector2i,
29 mrmesh.Vector2f,
30 ]
31):
32 counter = 1
33 for el in a:
34 assert el == counter
35 counter = counter + 1
36
37
38def test_Vector3():

Callers 2

test_Vector3Function · 0.85
test_Vector2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected