Пример #1
0
        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);
        }
Пример #2
0
        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);
        }
Пример #3
0
        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);
        }