public void CalculateSpanLoadVectorShearMemberTest_LeftNode_NodeNotContainsDisplacement_Success()
        {
            _span.Setup(s => s.LeftNode.ConcentratedForces.Contains(_verticalDisplacement)).Returns(false);
            var result = _verticalDisplacement.CalculateSpanLoadVectorShearMember(_span.Object, leftNode: true);

            Assert.That(result, Is.EqualTo(0.000072).Within(0.000000001));
        }
        public void CalculateSpanLoadVectorShearMemberTest_LeftNode_Success()
        {
            var result = _horizontalDisplacement.CalculateSpanLoadVectorShearMember(_span.Object, leftNode: true);

            Assert.That(result, Is.EqualTo(0));
        }
예제 #3
0
        public void CalculateSpanLoadVectorShearMemberTest_LeftNode_Success()
        {
            var result = _angledLoad.CalculateSpanLoadVectorShearMember(_span, leftNode: true);

            Assert.That(result, Is.EqualTo(0.841777).Within(0.000001));
        }
예제 #4
0
 public override double CalculateSpanLoadVectorShearMember(ISpan span, bool leftNode)
 => _verticalLoad.CalculateSpanLoadVectorShearMember(span, leftNode);
예제 #5
0
        public void CalculateSpanLoadVectorShearMemberTest_LeftNode_Success()
        {
            var result = _normalLoad.CalculateSpanLoadVectorShearMember(_span, leftNode: true);

            Assert.That(result, Is.EqualTo(0));
        }
예제 #6
0
        public void CalculateSpanLoadVectorShearMemberTest_LeftNode_Success()
        {
            var result = _bendingMoment.CalculateSpanLoadVectorShearMember(_span, leftNode: true);

            Assert.That(result, Is.EqualTo(0.054).Within(0.000001));
        }