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

AndreuCodina / CrossValidation / 5040327467

pending completion
5040327467

Pull #26

github

GitHub
Merge 362a64fcc into 3204cbf5a
Pull Request #26: Real async

360 of 392 branches covered (91.84%)

Branch coverage included in aggregate %.

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

1086 of 1163 relevant lines covered (93.38%)

192.9 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