public static Dictionary <string, object> WebOpeningMaximumHeight(double a_o, double d, double e, double t_f, double t_w, double F_y, bool IsCompositeBeam = true) { //Default values double h_op = 0; //Calculation logic: h_op = WebOpeningGeneral.GetMaximumOpeningHeight(a_o, d, e, t_f, t_w, F_y, IsCompositeBeam); return(new Dictionary <string, object> { { "h_op", h_op } }); }
public void OpeningSteelReturnsMaxHeight() { double d = 15.9; double t_w = 0.275; double t_f = 0.44; h_0 = 9.0; a_o = 20.0; double h_op = WebOpeningGeneral.GetMaximumOpeningHeight(a_o, d, e, t_f, t_w, F_y, true); double refValue = 11.1; double actualTolerance = EvaluateActualTolerance(h_op, refValue); Assert.LessOrEqual(actualTolerance, tolerance); }