From bd2a1fd0b125aef46968431d3ca00a92e8420a91 Mon Sep 17 00:00:00 2001 From: Vladimir Portyanikhin <86243191+portyanikhin@users.noreply.github.com> Date: Tue, 16 Jan 2024 14:16:55 +0300 Subject: [PATCH] Updated formatting --- src/SharpProp/Fluids/Mixture.cs | 5 ++--- tests/SharpProp.Tests/Fluids/FluidTests.cs | 11 +++++------ 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/src/SharpProp/Fluids/Mixture.cs b/src/SharpProp/Fluids/Mixture.cs index d6e6c30..46a26b2 100644 --- a/src/SharpProp/Fluids/Mixture.cs +++ b/src/SharpProp/Fluids/Mixture.cs @@ -36,9 +36,8 @@ public Mixture(IEnumerable fluids, IEnumerable fractions) } if ( - !Fluids.All( - fluid => - fluid.Pure() && fluid.CoolPropBackend() == AvailableBackend + !Fluids.All(fluid => + fluid.Pure() && fluid.CoolPropBackend() == AvailableBackend ) ) { diff --git a/tests/SharpProp.Tests/Fluids/FluidTests.cs b/tests/SharpProp.Tests/Fluids/FluidTests.cs index 39de170..97904eb 100644 --- a/tests/SharpProp.Tests/Fluids/FluidTests.cs +++ b/tests/SharpProp.Tests/Fluids/FluidTests.cs @@ -334,12 +334,11 @@ public void GetHashCode_Other_ReturnsOtherHashCode() public static IEnumerable FluidNames() => Enum.GetValues(typeof(FluidsList)) .Cast() - .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() .Select(name => new[] { name });