MCPcopy Index your code
hub / github.com/idank/explainshell / test_empty

Method test_empty

tests/extraction/test_runner.py:1056–1058  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1054 self.assertEqual(len(batches[1]), 2)
1055
1056 def test_empty(self):
1057 batches = group_work_items([], batch_size=5)
1058 self.assertEqual(batches, [])
1059
1060 def test_batch_size_larger_than_total(self):
1061 """All items fit in one batch."""

Callers

nothing calls this directly

Calls 1

group_work_itemsFunction · 0.90

Tested by

no test coverage detected