Skip to content

feat: add if_left_fn and if_right_fn (#42) #170

feat: add if_left_fn and if_right_fn (#42)

feat: add if_left_fn and if_right_fn (#42) #170

GitHub Actions / Test Results succeeded Jan 9, 2025 in 0s

All 34 tests pass in 0s

34 tests  +4   34 ✅ +4   0s ⏱️ ±0s
 1 suites ±0    0 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit 95a4efa. ± Comparison against earlier commit 3eed99f.

Annotations

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Test Results

34 tests found

There are 34 tests, see "Raw output" for the full list of tests.
Raw output
src.tests.test_either.TestEither ‑ test_bind_returns_expected_results
src.tests.test_either.TestEither ‑ test_chain_returns_expected_results
src.tests.test_either.TestEither ‑ test_creation_of_either_with_left_returns_expected_results
src.tests.test_either.TestEither ‑ test_creation_of_either_with_right_returns_expected_results
src.tests.test_either.TestEither ‑ test_discard_returns_expected_results
src.tests.test_either.TestEither ‑ test_either_objects_compare_correctly
src.tests.test_either.TestEither ‑ test_either_returns_expected_results
src.tests.test_either.TestEither ‑ test_fmap_returns_expected_results
src.tests.test_either.TestEither ‑ test_if_left_fn_returns_expected_results
src.tests.test_either.TestEither ‑ test_if_left_returns_expected_results
src.tests.test_either.TestEither ‑ test_if_right_fn_returns_expected_results
src.tests.test_either.TestEither ‑ test_if_right_returns_expected_results
src.tests.test_either.TestEither ‑ test_map_left_returns_expected_results
src.tests.test_either.TestEither ‑ test_more_specific_type_is_allowed
src.tests.test_either.TestEither ‑ test_replace_returns_expected_results
src.tests.test_either.TestEither ‑ test_rights_and_lefts_return_expected_results
src.tests.test_either.TestEither ‑ test_to_maybe_returns_expected_results
src.tests.test_either.TestEither ‑ test_to_optional_returns_expected_results
src.tests.test_either.TestEither ‑ test_to_str
src.tests.test_maybe.TestMaybe ‑ test_bind_returns_expected_results
src.tests.test_maybe.TestMaybe ‑ test_built_in_falsy_objects_other_than_none_return_just
src.tests.test_maybe.TestMaybe ‑ test_chain_returns_expected_results
src.tests.test_maybe.TestMaybe ‑ test_creation_of_maybe_with_none_returns_nothing
src.tests.test_maybe.TestMaybe ‑ test_creation_of_maybe_with_value_returns_just
src.tests.test_maybe.TestMaybe ‑ test_discard_returns_expected_results
src.tests.test_maybe.TestMaybe ‑ test_fmap_returns_expected_results
src.tests.test_maybe.TestMaybe ‑ test_from_maybe_returns_expected_results
src.tests.test_maybe.TestMaybe ‑ test_is_nothing_returns_expected_results
src.tests.test_maybe.TestMaybe ‑ test_maybe_objects_compare_correctly
src.tests.test_maybe.TestMaybe ‑ test_maybe_returns_expected_results
src.tests.test_maybe.TestMaybe ‑ test_more_specific_type_is_allowed
src.tests.test_maybe.TestMaybe ‑ test_replace_returns_expected_results
src.tests.test_maybe.TestMaybe ‑ test_to_optional_returns_expected_results
src.tests.test_maybe.TestMaybe ‑ test_to_str