From 01a2133d7b0db6622102367638925d60205e165e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 12 Jun 2024 20:51:10 +0000 Subject: [PATCH 1/2] Bump csharpier from 0.27.3 to 0.28.2 Bumps [csharpier](https://github.com/belav/csharpier) from 0.27.3 to 0.28.2. - [Release notes](https://github.com/belav/csharpier/releases) - [Changelog](https://github.com/belav/csharpier/blob/main/CHANGELOG.md) - [Commits](https://github.com/belav/csharpier/compare/0.27.3...0.28.2) --- updated-dependencies: - dependency-name: csharpier dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .config/dotnet-tools.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index a4713c5..a271784 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "csharpier": { - "version": "0.27.3", + "version": "0.28.2", "commands": [ "dotnet-csharpier" ] From 154fd8e434a214bccf0fb799b1ec1915143193b7 Mon Sep 17 00:00:00 2001 From: Vladimir Portyanikhin <86243191+portyanikhin@users.noreply.github.com> Date: Thu, 13 Jun 2024 00:19:38 +0300 Subject: [PATCH 2/2] Updated formatting --- tests/VCRC.Tests/Components/CondenserTests.cs | 18 +++++++++--------- .../Components/EconomizerWithTPITests.cs | 6 +++--- tests/VCRC.Tests/Components/EjectorTests.cs | 18 +++++++++--------- tests/VCRC.Tests/Components/EvaporatorTests.cs | 12 ++++++------ tests/VCRC.Tests/Components/GasCoolerTests.cs | 12 ++++++------ 5 files changed, 33 insertions(+), 33 deletions(-) diff --git a/tests/VCRC.Tests/Components/CondenserTests.cs b/tests/VCRC.Tests/Components/CondenserTests.cs index 36ed442..9bed258 100644 --- a/tests/VCRC.Tests/Components/CondenserTests.cs +++ b/tests/VCRC.Tests/Components/CondenserTests.cs @@ -70,9 +70,9 @@ public void RefrigerantName_Always_ReturnsEnteredName() => public void Temperature_Always_ReturnsEnteredValueInCelsius() { _sut.Temperature.Equals( - _temperature, - _comparison.Tolerance.DegreesCelsius() - ) + _temperature, + _comparison.Tolerance.DegreesCelsius() + ) .Should() .BeTrue(); _sut.Temperature.Unit.Should().Be(TemperatureUnit.DegreeCelsius); @@ -82,9 +82,9 @@ public void Temperature_Always_ReturnsEnteredValueInCelsius() public void Subcooling_Always_ReturnsEnteredValueInKelvins() { _sut.Subcooling.Equals( - _subcooling, - TemperatureDelta.FromKelvins(_comparison.Tolerance) - ) + _subcooling, + TemperatureDelta.FromKelvins(_comparison.Tolerance) + ) .Should() .BeTrue(); _sut.Subcooling.Unit.Should().Be(TemperatureDeltaUnit.Kelvin); @@ -94,9 +94,9 @@ public void Subcooling_Always_ReturnsEnteredValueInKelvins() public void Pressure_Always_ReturnsOutletPressureInKilopascals() { _sut.Pressure.Equals( - _sut.Outlet.Pressure, - _comparison.Tolerance.Pascals() - ) + _sut.Outlet.Pressure, + _comparison.Tolerance.Pascals() + ) .Should() .BeTrue(); _sut.Pressure.Unit.Should().Be(PressureUnit.Kilopascal); diff --git a/tests/VCRC.Tests/Components/EconomizerWithTPITests.cs b/tests/VCRC.Tests/Components/EconomizerWithTPITests.cs index 1bb0525..46435cb 100644 --- a/tests/VCRC.Tests/Components/EconomizerWithTPITests.cs +++ b/tests/VCRC.Tests/Components/EconomizerWithTPITests.cs @@ -37,9 +37,9 @@ double temperatureDifference public void TemperatureDifference_Always_ReturnsEnteredValueInKelvins() { _sut.TemperatureDifference.Equals( - _temperatureDifference, - _comparison.Tolerance.Kelvins() - ) + _temperatureDifference, + _comparison.Tolerance.Kelvins() + ) .Should() .BeTrue(); _sut.TemperatureDifference.Unit.Should() diff --git a/tests/VCRC.Tests/Components/EjectorTests.cs b/tests/VCRC.Tests/Components/EjectorTests.cs index 4bf7c6b..747d449 100644 --- a/tests/VCRC.Tests/Components/EjectorTests.cs +++ b/tests/VCRC.Tests/Components/EjectorTests.cs @@ -97,9 +97,9 @@ string message public void NozzleEfficiency_Always_ReturnsEnteredValueInPercents() { _sut.NozzleEfficiency.Equals( - _nozzleEfficiency, - _comparison.Tolerance.Percent() - ) + _nozzleEfficiency, + _comparison.Tolerance.Percent() + ) .Should() .BeTrue(); _sut.NozzleEfficiency.Unit.Should().Be(RatioUnit.Percent); @@ -109,9 +109,9 @@ public void NozzleEfficiency_Always_ReturnsEnteredValueInPercents() public void SuctionEfficiency_Always_ReturnsEnteredValueInPercents() { _sut.SuctionEfficiency.Equals( - _suctionEfficiency, - _comparison.Tolerance.Percent() - ) + _suctionEfficiency, + _comparison.Tolerance.Percent() + ) .Should() .BeTrue(); _sut.SuctionEfficiency.Unit.Should().Be(RatioUnit.Percent); @@ -121,9 +121,9 @@ public void SuctionEfficiency_Always_ReturnsEnteredValueInPercents() public void DiffuserEfficiency_Always_ReturnsEnteredValueInPercents() { _sut.DiffuserEfficiency.Equals( - _diffuserEfficiency, - _comparison.Tolerance.Percent() - ) + _diffuserEfficiency, + _comparison.Tolerance.Percent() + ) .Should() .BeTrue(); _sut.DiffuserEfficiency.Unit.Should().Be(RatioUnit.Percent); diff --git a/tests/VCRC.Tests/Components/EvaporatorTests.cs b/tests/VCRC.Tests/Components/EvaporatorTests.cs index 3645abc..bef9b75 100644 --- a/tests/VCRC.Tests/Components/EvaporatorTests.cs +++ b/tests/VCRC.Tests/Components/EvaporatorTests.cs @@ -70,9 +70,9 @@ public void RefrigerantName_Always_ReturnsEnteredName() => public void Temperature_Always_ReturnsEnteredValueInCelsius() { _sut.Temperature.Equals( - _temperature, - _comparison.Tolerance.DegreesCelsius() - ) + _temperature, + _comparison.Tolerance.DegreesCelsius() + ) .Should() .BeTrue(); _sut.Temperature.Unit.Should().Be(TemperatureUnit.DegreeCelsius); @@ -82,9 +82,9 @@ public void Temperature_Always_ReturnsEnteredValueInCelsius() public void Superheat_Always_ReturnsEnteredValueInKelvins() { _sut.Superheat.Equals( - _superheat, - TemperatureDelta.FromKelvins(_comparison.Tolerance) - ) + _superheat, + TemperatureDelta.FromKelvins(_comparison.Tolerance) + ) .Should() .BeTrue(); _sut.Superheat.Unit.Should().Be(TemperatureDeltaUnit.Kelvin); diff --git a/tests/VCRC.Tests/Components/GasCoolerTests.cs b/tests/VCRC.Tests/Components/GasCoolerTests.cs index f459a36..a8579c7 100644 --- a/tests/VCRC.Tests/Components/GasCoolerTests.cs +++ b/tests/VCRC.Tests/Components/GasCoolerTests.cs @@ -77,9 +77,9 @@ public void RefrigerantName_Always_ReturnsEnteredName() => public void Temperature_Always_ReturnsEnteredValueInCelsius() { _sut.Temperature.Equals( - _temperature, - _comparison.Tolerance.DegreesCelsius() - ) + _temperature, + _comparison.Tolerance.DegreesCelsius() + ) .Should() .BeTrue(); _sut.Temperature.Unit.Should().Be(TemperatureUnit.DegreeCelsius); @@ -89,9 +89,9 @@ public void Temperature_Always_ReturnsEnteredValueInCelsius() public void Pressure_IfUnspecified_ReturnsOptimalValueByYangEtAlInKilopascals() { _sut.Pressure.Equals( - (2.759 * _sut.Temperature.DegreesCelsius - 9.912).Bars(), - _comparison.Tolerance.Pascals() - ) + (2.759 * _sut.Temperature.DegreesCelsius - 9.912).Bars(), + _comparison.Tolerance.Pascals() + ) .Should() .BeTrue(); _sut.Pressure.Unit.Should().Be(PressureUnit.Kilopascal);