Skip to content

Commit

Permalink
Merge branch 'feature/concrete-properties' of https://github.com/Magm…
Browse files Browse the repository at this point in the history
…aWorks/SectionProperties into feature/concrete-properties
  • Loading branch information
kpne committed Nov 26, 2024
2 parents 3e7ab1d + 92c649d commit 209896e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SectionProperties/ConcreteSectionProperties.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
2 changes: 1 addition & 1 deletion SectionPropertiesTests/ConcreteSectionPropertiesTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit 209896e

Please sign in to comment.