public void CustomTeeReturnsI_y() { SetUpTests(); SectionTeeRolled tee = new SectionTeeRolled(null, d, b_f, t_f, t_w, k); double I_yCalc = tee.I_y; double refValue = I_y; // from AISC Steel Manual double actualTolerance = EvaluateActualTolerance(I_yCalc, refValue); Assert.LessOrEqual(actualTolerance, tolerance); }
public void CustomTeeReturnsPNA() { SetUpTests(); SectionTeeRolled tee = new SectionTeeRolled(null, d, b_f, t_f, t_w, k); double y_pCalc = tee.y_pBar; double y_pManual = 0.372; double refValue = d - y_pManual; // from AISC Steel Manual double actualTolerance = EvaluateActualTolerance(y_pCalc, refValue); Assert.LessOrEqual(actualTolerance, tolerance); }