MCPcopy
hub / github.com/CadQuery/cadquery / test_sort

Function test_sort

tests/test_sketch.py:875–877  ·  view source on GitHub ↗
(s1)

Source from the content-addressed store, hash-verified

873
874
875def test_sort(s1):
876
877 assert s1.sort(lambda x: -x.Area())[-1].val().Area() == approx(1)
878
879
880def test_apply(s1, f):

Callers

nothing calls this directly

Calls 3

AreaMethod · 0.45
valMethod · 0.45
sortMethod · 0.45

Tested by

no test coverage detected