• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

AndreuCodina / CrossValidation / 5039199915

pending completion
5039199915

Pull #26

github

GitHub
Merge 4f0503a9d into 3204cbf5a
Pull Request #26: Real async

359 of 390 branches covered (92.05%)

Branch coverage included in aggregate %.

566 of 566 new or added lines in 12 files covered. (100.0%)

1080 of 1136 relevant lines covered (95.07%)

202.55 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/CrossValidation/Extensions/NullExtensions.cs
1
namespace CrossValidation.Extensions;
2

3
public static class NullExtensions
4
{
5
    public static TResult? Map<T, TResult>(this T? value, Func<T, TResult> f)
6
        where T : struct
7
    {
8
        return value is not null ? f(value.Value) : default;
×
9
    }
10
    
11
    public static TResult? Map<T, TResult>(this T? value, Func<T, TResult> f)
12
        where T : class
13
    {
14
        return value is not null ? f(value) : default;
×
15
    }
16
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc