draft.py 220 B

123456789
  1. import pytest
  2. @pytest.mark.parametrize(
  3. "list1, list2, expect",
  4. [
  5. ([1, 2, 4], [1, 3, 4], [1, 1, 2, 3, 4, 4])
  6. ]
  7. )
  8. def test_cases(list1, list2, expect):
  9. assert mergeTwoLists(list1, list2) == expect