Ejemplo n.º 1
0
def test_and_with_some_nun():
    x = Some(2)
    y = Nun()

    assert x.and_(y) == Nun()
Ejemplo n.º 2
0
def test_and_with_some_some():
    x = Some(2)
    y = Some(3)

    assert x.and_(y) == Some(3)