public void ToCompleteCharge() { // Act var message = new BatteryCapacityMessage(_examplePayload); // Assert message.ToCompleteCharge.Should().Be(new KiloWattHour(51.4m)); }
public void FullBatteryCapacity() { // Act var message = new BatteryCapacityMessage(_examplePayload); // Assert message.FullBatteryCapacity.Should().Be(new KiloWattHour(75m)); }
public void RemainingBatteryCapacity() { // Act var message = new BatteryCapacityMessage(_examplePayload); // Assert message.RemainingBatteryCapacity.Should().Be(new KiloWattHour(16.5m)); }
public void EnergyBuffer() { // Act var message = new BatteryCapacityMessage(_examplePayload); // Assert message.EnergyBuffer.Should().Be(new KiloWattHour(3.4m)); }