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

Function test_comibine_hist_dict

tests/test_free_functions.py:1400–1414  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1398
1399
1400def test_comibine_hist_dict():
1401
1402 f = plane(1, 1)
1403 v = vertex(0, 0, 0)
1404 e = segment((0, 0), (0, 1))
1405
1406 d1 = {f: v}
1407 d2 = {f: e}
1408
1409 _combine_hist_dict(d1, d2)
1410
1411 assert f in d1
1412 assert isinstance(d1[f], Compound)
1413 assert v in d1[f]
1414 assert e in d1[f]

Callers

nothing calls this directly

Calls 4

_combine_hist_dictFunction · 0.90
planeFunction · 0.85
vertexFunction · 0.85
segmentFunction · 0.85

Tested by

no test coverage detected