Icons for force result were added
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
using Moq;
|
||||
using NUnit.Framework;
|
||||
using StructureHelperCommon.Infrastructures.Exceptions;
|
||||
using StructureHelperCommon.Models.Shapes;
|
||||
using StructureHelperLogics.NdmCalculations.Analyses.ByForces;
|
||||
|
||||
namespace StructureHelperTests.UnitTests.Calcuators
|
||||
{
|
||||
[TestFixture]
|
||||
public class LimitCurveCalculatorTest
|
||||
{
|
||||
[TestCase(10d, 20d)]
|
||||
public void Run_ShouldPass(double xmax, double ymax)
|
||||
{
|
||||
//Arrange
|
||||
var calculator = new LimitCurveCalculator(new StabLimitCurveLogic())
|
||||
{
|
||||
XMax = xmax,
|
||||
Ymax = ymax
|
||||
};
|
||||
//Act
|
||||
calculator.Run();
|
||||
var result = calculator.Result;
|
||||
//Assert
|
||||
Assert.IsNotNull(result);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user