Module rusty_results.tests.option.test_option_some

Functions

def create_some(value: int = 10) ‑> Tuple[Some[int], int]
def test_early_return()
def test_flatten(option: Union[Some[~T], Empty], expected_flatten: Union[Some[~T], Empty])
def test_flatten_one(option: Union[Some[~T], Empty], expected_flatten: Union[Some[~T], Empty])
def test_some_and_then()
def test_some_builds()
def test_some_contains()
def test_some_expect_empty()
def test_some_expects()
def test_some_filter()
def test_some_is_empty()
def test_some_is_some()
def test_some_iter()
def test_some_map()
def test_some_map_or()
def test_some_map_or_else()
def test_some_ok_or()
def test_some_ok_or_else()
def test_some_or_else()
def test_some_unwrap()
def test_some_unwrap_empty()
def test_some_unwrap_or()
def test_some_unwrap_or_else()
def test_some_xor()
def test_some_zip()
def test_some_zip_with()
def test_transpose(option, expected_transpose)
def test_transpose_type_error()