예제 #1
0
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])
예제 #2
0
def test_composition_of_fold_and_setter_is_invalid():
    with pytest.raises(RuntimeError):
        b.IterableFold() & b.ForkedSetter()
예제 #3
0
def test_cannot_preview_with_setter():
    with pytest.raises(TypeError):
        b.ForkedSetter(b.GetitemLens(0), b.GetitemLens(1)).preview([1, 2])