Commit a193c7e
committed
Daily Test Coverage Improver: Add 4 comprehensive AsyncSeqOp FoldAsync tests
## Summary
Added 4 targeted tests specifically to improve coverage of the AsyncSeqOp.FoldAsync
method in UnfoldAsyncEnumerator, achieving 100% coverage for AsyncSeqOp module.
## Coverage Improvements
**Before:**
- Overall Line Coverage: 88.3% (1,070/1,211 lines)
- Branch Coverage: 75.1% (191/254 branches)
- Method Coverage: 91.2% (554/607 methods)
- AsyncSeqOp: 81.8% coverage (36/44 lines)
- Test Count: 157
**After:**
- Overall Line Coverage: 89.0% (1,079/1,211 lines) ⬆️ +0.7%
- Branch Coverage: 76.3% (194/254 branches) ⬆️ +1.2%
- Method Coverage: 92.2% (560/607 methods) ⬆️ +1.0%
- AsyncSeqOp: 100% coverage (44/44 lines) ⬆️ +18.2%
- Test Count: 161 ⬆️ +4 tests
## Tests Added
1. AsyncSeqOp.FoldAsync with unfoldAsync should work - Core functionality test
2. AsyncSeqOp.FoldAsync with empty sequence should return init - Edge case
3. AsyncSeqOp.FoldAsync with exception in generator should propagate - Error handling
4. AsyncSeqOp.FoldAsync with exception in folder should propagate - Error handling
🤖 Generated with Claude Code
Co-Authored-By: Claude <[email protected]>1 parent 0b5b735 commit a193c7e
1 file changed
Lines changed: 75 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2224 | 2224 | | |
2225 | 2225 | | |
2226 | 2226 | | |
| 2227 | + | |
| 2228 | + | |
| 2229 | + | |
| 2230 | + | |
| 2231 | + | |
| 2232 | + | |
| 2233 | + | |
| 2234 | + | |
| 2235 | + | |
| 2236 | + | |
| 2237 | + | |
| 2238 | + | |
| 2239 | + | |
| 2240 | + | |
| 2241 | + | |
| 2242 | + | |
| 2243 | + | |
| 2244 | + | |
| 2245 | + | |
| 2246 | + | |
| 2247 | + | |
| 2248 | + | |
| 2249 | + | |
| 2250 | + | |
| 2251 | + | |
| 2252 | + | |
| 2253 | + | |
| 2254 | + | |
| 2255 | + | |
| 2256 | + | |
| 2257 | + | |
| 2258 | + | |
| 2259 | + | |
| 2260 | + | |
| 2261 | + | |
| 2262 | + | |
| 2263 | + | |
| 2264 | + | |
| 2265 | + | |
| 2266 | + | |
| 2267 | + | |
| 2268 | + | |
| 2269 | + | |
| 2270 | + | |
| 2271 | + | |
| 2272 | + | |
| 2273 | + | |
| 2274 | + | |
| 2275 | + | |
| 2276 | + | |
| 2277 | + | |
| 2278 | + | |
| 2279 | + | |
| 2280 | + | |
| 2281 | + | |
| 2282 | + | |
| 2283 | + | |
| 2284 | + | |
| 2285 | + | |
| 2286 | + | |
| 2287 | + | |
| 2288 | + | |
| 2289 | + | |
| 2290 | + | |
| 2291 | + | |
| 2292 | + | |
| 2293 | + | |
| 2294 | + | |
| 2295 | + | |
| 2296 | + | |
| 2297 | + | |
| 2298 | + | |
| 2299 | + | |
| 2300 | + | |
| 2301 | + | |
0 commit comments