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)); }
public void CalculateSpanLoadVectorShearMemberTest_LeftNode_Success() { var result = _angledLoad.CalculateSpanLoadVectorShearMember(_span, leftNode: true); Assert.That(result, Is.EqualTo(0.841777).Within(0.000001)); }
public override double CalculateSpanLoadVectorShearMember(ISpan span, bool leftNode) => _verticalLoad.CalculateSpanLoadVectorShearMember(span, leftNode);
public void CalculateSpanLoadVectorShearMemberTest_LeftNode_Success() { var result = _normalLoad.CalculateSpanLoadVectorShearMember(_span, leftNode: true); Assert.That(result, Is.EqualTo(0)); }
public void CalculateSpanLoadVectorShearMemberTest_LeftNode_Success() { var result = _bendingMoment.CalculateSpanLoadVectorShearMember(_span, leftNode: true); Assert.That(result, Is.EqualTo(0.054).Within(0.000001)); }