Ten small Python tasks, each failing on the fixture and passing with a reference solution, including workflow expectations for a small change, a bugfix, and a delegable change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
8 lines
196 B
Python
8 lines
196 B
Python
import unittest
|
|
from app.pagination import paginate
|
|
|
|
|
|
class PaginationTests(unittest.TestCase):
|
|
def test_first_page(self):
|
|
self.assertEqual(paginate(list(range(10)), 1, 3), [0, 1, 2])
|