Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump csharpier from 0.27.3 to 0.28.2 #154

Merged
merged 2 commits into from
Jun 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"csharpier": {
"version": "0.27.3",
"version": "0.28.2",
"commands": [
"dotnet-csharpier"
]
Expand Down
18 changes: 9 additions & 9 deletions tests/VCRC.Tests/Components/CondenserTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand All @@ -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);
Expand Down
6 changes: 3 additions & 3 deletions tests/VCRC.Tests/Components/EconomizerWithTPITests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
18 changes: 9 additions & 9 deletions tests/VCRC.Tests/Components/EjectorTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand All @@ -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);
Expand Down
12 changes: 6 additions & 6 deletions tests/VCRC.Tests/Components/EvaporatorTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand Down
12 changes: 6 additions & 6 deletions tests/VCRC.Tests/Components/GasCoolerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand Down