Apply code formatting cleanup across monitor projects
- Reindent appsettings.json and the MSBuild project files - Collapse single-statement guard blocks and tidy using and member order - Normalize XML doc indentation and file endings - Reorder BatteryMonitor test-data helpers and move the exclusion tests into their own region - Carry the same formatting through the boiler config, control, entity and test files
This commit is contained in:
@@ -158,10 +158,7 @@ public class ShowerDetectionServiceTests
|
||||
service.TodaySessionCount.Should().Be(0);
|
||||
service.LastCompletedSession.Should().BeNull();
|
||||
|
||||
if (expectedState == ShowerState.Active)
|
||||
{
|
||||
service.CurrentSession.Should().NotBeNull();
|
||||
}
|
||||
if (expectedState == ShowerState.Active) service.CurrentSession.Should().NotBeNull();
|
||||
}
|
||||
|
||||
[Fact]
|
||||
@@ -508,4 +505,4 @@ public class ShowerDetectionServiceTests
|
||||
service.Evaluate(56.0, 50.0, start.AddMinutes(12));
|
||||
service.Evaluate(55.0, 50.0, start.AddMinutes(13));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user