Tests of crack calculator were added

This commit is contained in:
RedikultsevEvg
2024-08-12 12:46:40 +05:00
parent 3eb5aa2b96
commit 45dbd7a1ca
53 changed files with 1041 additions and 277 deletions

View File

@@ -1,8 +1,17 @@
namespace StructureHelperCommon.Models.Calculators
{
/// <summary>
/// Rate of calculation which based on iteration of finished accuracy
/// </summary>
public interface IAccuracy
{
/// <summary>
/// Max accuracy of iteration
/// </summary>
double IterationAccuracy { get; set; }
/// <summary>
/// Limit iteration count for calculation
/// </summary>
int MaxIterationCount { get; set; }
}
}

View File

@@ -9,6 +9,9 @@ using System.Threading.Tasks;
namespace StructureHelperCommon.Models.Calculators
{
/// <summary>
/// Base interface of input data for calculation
/// </summary>
public interface IInputData
{
}

View File

@@ -6,12 +6,18 @@ using System.Threading.Tasks;
namespace StructureHelperCommon.Models.Calculators
{
/// <summary>
/// Base interface of result of calculation
/// </summary>
public interface IResult
{
/// <summary>
/// True if result of calculation is valid
/// </summary>
bool IsValid { get; set; }
/// <summary>
/// Description of result of calculation
/// </summary>
string? Description { get; set; }
}
}