public void CalculateShearTest_Success() { var result = _verticalDisplacement.CalculateShear(); Assert.That(result, Is.EqualTo(0)); }
public void CalculateShearTest_Success() { var result = _angledLoad.CalculateShear(); Assert.That(result, Is.EqualTo(-0.866025).Within(0.000001)); }
public override double CalculateShear() => _verticalLoad.CalculateShear();
public void CalculateShearTest_Success() { var result = _shearLoad.CalculateShear(); Assert.That(result, Is.EqualTo(-1)); }
public void CalculateShearTest_Success() { var result = _bendingMoment.CalculateShear(); Assert.That(result, Is.EqualTo(0)); }