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

Function test_map_grouping_scalar

tests/unit/library/test_grouping.py:136–140  ·  view source on GitHub ↗
(scalar_grouping_size)

Source from the content-addressed store, hash-verified

134
135# Test map_grouping
136def test_map_grouping_scalar(scalar_grouping_size):
137 grouping, size = scalar_grouping_size
138 result = map_grouping(lambda x: x * 2 + 5, grouping)
139 expected = grouping * 2 + 5
140 assert expected == result
141
142
143def test_map_grouping_list(list_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…