Пример #1
0
        public void AffectedElementReturnsWhitmoreSectionWidth()
        {
            AffectedElement el = new AffectedElement();

                double b_Whitmore = el.GetWhitmoreSectionWidth(18.0, 3.0);
                double refValue = 23.8;
                double actualTolerance = EvaluateActualTolerance(b_Whitmore, refValue);
                Assert.LessOrEqual(actualTolerance, tolerance);
            
        }
Пример #2
0
        public static Dictionary<string, object> WhitmoreSectionWidth(double l, double b_con, string Code = "AISC360-10")
        {
            //Default values
            double b_Whitmore = 0;


            //Calculation logic:
            AffectedElement el = new AffectedElement();
            b_Whitmore = el.GetWhitmoreSectionWidth(l, b_con);

            return new Dictionary<string, object>
            {
                { "b_Whitmore", b_Whitmore }
 
            };
        }