diff --git a/SectionProperties/ConcreteSectionProperties.cs b/SectionProperties/ConcreteSectionProperties.cs index b403e67..111c89f 100644 --- a/SectionProperties/ConcreteSectionProperties.cs +++ b/SectionProperties/ConcreteSectionProperties.cs @@ -37,7 +37,7 @@ public ConcreteSectionProperties(IConcreteSection section) : base(section.Profil public Length EffectiveDepth(SectionFace face) => Reinforcement.CalculateEffectiveDepth(_section, face); - public Area ReinforcementArea(SectionFace face) + public Area ReinforcementArea(SectionFace face) => Reinforcement.CalculateArea(_section, face); } } diff --git a/SectionPropertiesTests/ConcreteSectionPropertiesTests.cs b/SectionPropertiesTests/ConcreteSectionPropertiesTests.cs index 7f7b298..7b3a9c0 100644 --- a/SectionPropertiesTests/ConcreteSectionPropertiesTests.cs +++ b/SectionPropertiesTests/ConcreteSectionPropertiesTests.cs @@ -164,7 +164,7 @@ public void EffectiveDepthTest(double expected, SectionFace face) } [Theory] - [InlineData(new double[] { 20, 20, 20, 20}, SectionFace.Bottom)] + [InlineData(new double[] { 20, 20, 20, 20 }, SectionFace.Bottom)] [InlineData(new double[] { 12, 12 }, SectionFace.Top)] [InlineData(new double[] { 12, 20, 20 }, SectionFace.RightSide)] [InlineData(new double[] { 12, 20, 20 }, SectionFace.LeftSide)]