def test_from_optional_none() -> None: assert Nothing() == Maybe.fromOptional(None)
def test_from_optional_value() -> None: assert Just(2) == Maybe.fromOptional(2)