Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/clips/pattern
/ test_find
Method
test_find
test/test_search.py:32–33 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
30
self.assertEqual(search.unique([1,1,2,2]), [1,2])
31
32
def
test_find(self):
33
self.assertEqual(search.find(
lambda
v: v>2, [1,2,3,4,5]), 3)
34
35
def
test_product(self):
36
# Assert combinations of list items.
Callers
nothing calls this directly
Calls
1
find
Method · 0.45
Tested by
no test coverage detected