Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
875
def
test_sort(s1):
876
877
assert s1.sort(
lambda
x: -x.Area())[-1].val().Area() == approx(1)
878
879
880
def
test_apply(s1, f):
Callers
nothing calls this directly
Calls
3
Area
Method · 0.45
val
Method · 0.45
sort
Method · 0.45
Tested by
no test coverage detected