def test_lens_call_mut_implicitly(): assert lens.call_mut_sort()([3, 1, 2]) == [1, 2, 3]
def test_lens_call_mut_kwargs_implicitly(): result = lens.call_mut_sort(key=len)(["eine", "un", "one"]) assert result == ["un", "one", "eine"]
def test_lens_call_mut_kwargs_implicitly(): result = lens.call_mut_sort(key=len)(['eine', 'un', 'one']) assert result == ['un', 'one', 'eine']