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

lucaslorentz / auto-compute / 11755569045

09 Nov 2024 10:37AM UTC coverage: 80.033% (-1.7%) from 81.696%
11755569045

push

github

lucaslorentz
Add initial support for computed navigations and observers

159 of 357 new or added lines in 22 files covered. (44.54%)

41 existing lines in 6 files now uncovered.

1459 of 1823 relevant lines covered (80.03%)

113.72 hits per line

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

71.43
/src/LLL.AutoCompute/ChangeCalculations/CurrentValueChangeCalculation.cs
1

2
namespace LLL.AutoCompute.ChangeCalculations;
3

4
public record class CurrentValueChangeCalculation<TValue>(bool incremental)
132✔
5
    : IChangeCalculation<TValue, TValue>
6
{
7
    public bool IsIncremental => incremental;
124✔
8
    public bool PreLoadEntities => true;
48✔
9

10
    public TValue GetChange(IComputedValues<TValue> computedValues)
11
    {
12
        return computedValues.GetCurrentValue();
64✔
13
    }
14

15
    public bool IsNoChange(TValue result)
16
    {
17
        return false;
64✔
18
    }
19

20
    public TValue DeltaChange(TValue previous, TValue current)
21
    {
22
        return current;
×
23
    }
24

25
    public TValue ApplyChange(TValue value, TValue change)
26
    {
UNCOV
27
        return change;
×
28
    }
29
}
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