Icons were added

This commit is contained in:
Evgeny Redikultsev
2023-08-12 14:53:38 +05:00
parent ce97586d2b
commit 80302525b3
103 changed files with 1133 additions and 449 deletions

View File

@@ -0,0 +1,35 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using StructureHelperLogics.NdmCalculations.Cracking;
namespace StructureHelperTests.UnitTests.Ndms.Cracks
{
public class CrackWidthLogicTest
{
[TestCase(1.4d, 0.001d, 0d, 0.3d, 0.00020999999999999998d)]
[TestCase(1.4d, 0.001d, 0.001d, 0.3d, 0d)]
public void Run_ShouldPass(double termFactor, double rebarStrain, double concreteStrain, double length, double expectedWidth)
{
//Arrange
var logic = new CrackWidthLogicSP63()
{
TermFactor = termFactor,
BondFactor = 0.5d,
StressStateFactor = 1d,
PsiSFactor = 1d,
RebarStrain = rebarStrain,
ConcreteStrain = concreteStrain,
Length = length
};
//Act
var width = logic.GetCrackWidth();
//Assert
Assert.AreEqual(expectedWidth, width, 0.000001d);
}
}
}