You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tests: add tests for mapiAsync, tryPickAsync, pickAsync, groupByAsync
These four async functions had no test coverage. This adds:
- 4 tests for mapiAsync (index type, empty, property-based match with mapi)
- 4 tests for tryPickAsync (found, not found, empty, returns first match)
- 3 tests for pickAsync (found, not found, empty)
- 3 tests for groupByAsync (basic grouping, empty sequence, single group)
All 402 tests pass.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy file name to clipboardExpand all lines: RELEASE_NOTES.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,6 @@
1
1
### 4.12.0
2
2
3
+
* Tests: Added tests for `mapiAsync`, `tryPickAsync`, `pickAsync`, and `groupByAsync` — these four async functions previously had no test coverage.
3
4
* Added `AsyncSeq.tryFindBack` — returns the last element for which the predicate returns true, or `None` if no match. Mirrors `Array.tryFindBack` / `List.tryFindBack`.
4
5
* Added `AsyncSeq.tryFindBackAsync` — async-predicate variant of `tryFindBack`.
5
6
* Added `AsyncSeq.findBack` — returns the last element for which the predicate returns true; raises `KeyNotFoundException` if no match. Mirrors `Array.findBack` / `List.findBack`.
0 commit comments