All tests were changed due to Nunit lib changing

This commit is contained in:
Evgeny Redikultsev
2024-12-18 22:16:50 +05:00
parent 0538c6b53c
commit a14433f3cb
43 changed files with 206 additions and 174 deletions

View File

@@ -41,9 +41,9 @@ namespace StructureHelperTests.FunctionalTests.Ndms.Calculators.CrackCalculatorT
calculator.Run();
var result = (CrackForceResult)calculator.Result;
//Assert
Assert.NotNull(result);
Assert.IsTrue(result.IsValid);
Assert.AreEqual(expectedFactor, result.FactorOfCrackAppearance, 0.01d);
Assert.That(result, Is.Not.Null);
Assert.That(result.IsValid, Is.True);
Assert.That(result.FactorOfCrackAppearance, Is.EqualTo(expectedFactor).Within(0.01d));
}
}
}