MCPcopy Index your code
hub / github.com/plotly/dash / test_map_grouping_list

Function test_map_grouping_list

tests/unit/library/test_grouping.py:143–147  ·  view source on GitHub ↗
(list_grouping_size)

Source from the content-addressed store, hash-verified

141
142
143def test_map_grouping_list(list_grouping_size):
144 grouping, size = list_grouping_size
145 result = map_grouping(lambda x: x * 2 + 5, grouping)
146 expected = [g * 2 + 5 for g in grouping]
147 assert expected == result
148
149
150def test_map_grouping_dict(dict_grouping_size):

Callers

nothing calls this directly

Calls 1

map_groupingFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…