public void SectionIWithReinfWebOpeningReturnsZ_x()
 {
     SectionIWithReinfWebOpening shape = new SectionIWithReinfWebOpening(null, 18.0, 8.0, 1.0, 0.5, 8.0, 0, 2.0, 0.5);
     double Z_x = shape.Z_x;
     double refValue = 2 * 12 * 7.3750; //Calculated in Autocad
     double actualTolerance = EvaluateActualTolerance(Z_x, refValue);
     Assert.LessOrEqual(actualTolerance, tolerance);
 }
 public void SectionIWithOneSidedReinfWebOpeningReturnsI_x()
 {
     SectionIWithReinfWebOpening shape = new SectionIWithReinfWebOpening(null, 18.11, 7.53, 0.63, 0.39, 11.0, 0, 1.75, 0.375,true);
     double I_x = shape.I_x;
     double refValue = 879.0; //Calculated in Autocad
     double actualTolerance = EvaluateActualTolerance(I_x, refValue);
     Assert.LessOrEqual(actualTolerance, tolerance);
 }
 public void SectionIWithReinfWebOpeningReturnsI_y()
 {
     SectionIWithReinfWebOpening shape = new SectionIWithReinfWebOpening(null, 18.0, 8.0, 1.0, 0.5, 8.0, 0, 2.0, 0.5);
     double I_y = shape.I_y;
     double refValue = 93.0; //Calculated in Autocad
     double actualTolerance = EvaluateActualTolerance(I_y, refValue);
     Assert.LessOrEqual(actualTolerance, tolerance);
 }
 internal SectionIWithReinfWebOpening(double d, double b_f, double t_f, double t_w, double h_o,
     double e, double b_r, double t_r, bool IsOneSidedReinforcment= true)
 {
     ds.SectionIWithReinfWebOpening r = new ds.SectionIWithReinfWebOpening("", d, b_f, t_f, t_w,h_o,e,b_r,t_r,IsOneSidedReinforcment);
     Section = r;
 }