def test_cannot_to_list_of_with_setter(): with pytest.raises(TypeError): b.ForkedSetter(b.GetitemLens(0), b.GetitemLens(1)).to_list_of([1, 2])
def test_composition_of_fold_and_setter_is_invalid(): with pytest.raises(RuntimeError): b.IterableFold() & b.ForkedSetter()
def test_cannot_preview_with_setter(): with pytest.raises(TypeError): b.ForkedSetter(b.GetitemLens(0), b.GetitemLens(1)).preview([1, 2])