Skip to content

Commit

Permalink
Updated formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
portyanikhin committed Jan 16, 2024
1 parent 938af4b commit bd2a1fd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
5 changes: 2 additions & 3 deletions src/SharpProp/Fluids/Mixture.cs
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 bd2a1fd

Please sign in to comment.