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

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

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

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