public void CalculateBendingMomentTest_Success()
        {
            var result = _verticalDisplacement.CalculateBendingMoment(distanceFromLoad: 5);

            Assert.That(result, Is.EqualTo(0));
        }
        public void CalculateBendingMomentTest_Success()
        {
            var result = _shearLoad.CalculateBendingMoment(distanceFromLoad: 5);

            Assert.That(result, Is.EqualTo(-5));
        }
Exemple #3
0
        public void CalculateBendingMomentTest_Success()
        {
            var result = _angledLoad.CalculateBendingMoment(distanceFromLoad: 5);

            Assert.That(result, Is.EqualTo(-4.330127).Within(0.000001));
        }
Exemple #4
0
 public override double CalculateBendingMoment(double distanceFromLoad)
 => _verticalLoad.CalculateBendingMoment(distanceFromLoad);