Skip to content

Commit

Permalink
Merge pull request #257 from portyanikhin/dependabot/nuget/csharpier-…
Browse files Browse the repository at this point in the history
…0.27.0

Bump csharpier from 0.26.7 to 0.27.0
  • Loading branch information
portyanikhin committed Jan 16, 2024
2 parents 72830ab + bd2a1fd commit b9ec751
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .config/dotnet-tools.json
Expand Up @@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"csharpier": {
"version": "0.26.7",
"version": "0.27.0",
"commands": [
"dotnet-csharpier"
]
Expand Down
5 changes: 2 additions & 3 deletions src/SharpProp/Fluids/Mixture.cs
Expand Up @@ -36,9 +36,8 @@ public Mixture(IEnumerable<FluidsList> fluids, IEnumerable<Ratio> fractions)
}

if (
!Fluids.All(
fluid =>
fluid.Pure() && fluid.CoolPropBackend() == AvailableBackend
!Fluids.All(fluid =>
fluid.Pure() && fluid.CoolPropBackend() == AvailableBackend
)
)
{
Expand Down
11 changes: 5 additions & 6 deletions tests/SharpProp.Tests/Fluids/FluidTests.cs
Expand Up @@ -334,12 +334,11 @@ public void GetHashCode_Other_ReturnsOtherHashCode()
public static IEnumerable<object[]> FluidNames() =>
Enum.GetValues(typeof(FluidsList))
.Cast<FluidsList>()
.Where(
name =>
!(
name is FluidsList.AL or FluidsList.AN
|| name.CoolPropName().EndsWith(".mix")
)
.Where(name =>
!(
name is FluidsList.AL or FluidsList.AN
|| name.CoolPropName().EndsWith(".mix")
)
)
.Cast<object>()
.Select(name => new[] { name });
Expand Down

0 comments on commit b9ec751

Please sign in to comment.