Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1from e10_sum_anything import mysum 

2import pytest 

3 

4 

5@pytest.mark.parametrize('args, output', [ 

6 ((), ()), 

7 ((10, 20, 30), 60), 

8 (('a', 'b', 'c'), 'abc'), 

9 ([10, 20, 30], 60) 

10]) 

11def test_mysum(args, output): 

12 assert mysum(*args) == output