示例#1
0
 private void CalculateSnowLoad2()
 {
     if (ConditionChecker.ForDesignSituation(snowLoad.ExcepctionalSituation, snowLoad.CurrentDesignSituation, true))
     {
         RightSnowLoad = SnowLoadCalc.CalculateSnowLoadForAnnexB(RightShapeCoefficient, snowLoad.SnowLoadForSpecificReturnPeriod);
     }
 }
示例#2
0
 private void CalculateSnowLoad1()
 {
     if (ConditionChecker.ForDesignSituation(snowLoad.ExcepctionalSituation, snowLoad.CurrentDesignSituation, true))
     {
         SnowLoadNearTheTop = SnowLoadCalc.CalculateSnowLoadForAnnexB(ShapeCoefficient1, snowLoad.SnowLoadForSpecificReturnPeriod);
     }
 }
示例#3
0
        public void ForDesignSituationTest_SituationB1_Exceptional_Success()
        {
            bool result = ConditionChecker.ForDesignSituation(false, DesignSituation.B3, true);

            Assert.IsFalse(result, "Conditions checking is wrong");
        }
示例#4
0
        public void ForDesignSituationTest_SituationB1_Exceptional_NotAnnexB_Success()
        {
            bool result = ConditionChecker.ForDesignSituation(true, DesignSituation.B1, false);

            Assert.IsTrue(result, "Conditions checking is wrong");
        }