MCPcopy Index your code
hub / github.com/CadQuery/cadquery / test_leaf_node_count

Function test_leaf_node_count

tests/test_assembly.py:1596–1601  ·  view source on GitHub ↗
(assy_fixture, count, request)

Source from the content-addressed store, hash-verified

1594 [("simple_assy", 3), ("nested_assy", 3), ("empty_top_assy", 1),],
1595)
1596def test_leaf_node_count(assy_fixture, count, request):
1597
1598 assy = request.getfixturevalue(assy_fixture)
1599 _, doc = toCAF(assy, True)
1600
1601 assert len(get_doc_nodes(doc, True)) == count
1602
1603
1604def check_assy(assy, assy_i):

Callers

nothing calls this directly

Calls 2

toCAFFunction · 0.90
get_doc_nodesFunction · 0.85

Tested by

no test coverage detected