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

Function test_fig_free_func

tests/test_fig.py:91–102  ·  view source on GitHub ↗
(showables)

Source from the content-addressed store, hash-verified

89@mark.gui
90@mark.skipif(platform != "win32", reason="CI with UI only works on win for now")
91def test_fig_free_func(showables):
92
93 clear()
94 fig = Figure()
95 assert len(fig.state.actors) == 0
96
97 for el in showables:
98 show(el)
99
100 fit()
101
102 assert len(fig.state.actors) == len(showables)

Callers

nothing calls this directly

Calls 4

clearFunction · 0.90
FigureClass · 0.90
showFunction · 0.90
fitFunction · 0.90

Tested by

no test coverage detected