Index: DamClients/DamUI/trunk/src/Dam/Deltares.Dam.BenchmarkTests/DamCalculationBenchmarkTest.cs =================================================================== diff -u -r5060 -r5282 --- DamClients/DamUI/trunk/src/Dam/Deltares.Dam.BenchmarkTests/DamCalculationBenchmarkTest.cs (.../DamCalculationBenchmarkTest.cs) (revision 5060) +++ DamClients/DamUI/trunk/src/Dam/Deltares.Dam.BenchmarkTests/DamCalculationBenchmarkTest.cs (.../DamCalculationBenchmarkTest.cs) (revision 5282) @@ -203,7 +203,7 @@ { // Following values are just taken from the Geo Stability calculation and not manually calculated Assert.That(allCalculationResults[0].StabilitySafetyFactor.Value, Is.EqualTo(0.845).Within(tolerance3Decimals)); - Assert.That(allCalculationResults[1].StabilitySafetyFactor.Value, Is.EqualTo(1.045).Within(tolerance3Decimals)); + Assert.That(allCalculationResults[1].StabilitySafetyFactor.Value, Is.EqualTo(1.048).Within(tolerance3Decimals)); Assert.That(allCalculationResults[2].StabilitySafetyFactor.Value, Is.EqualTo(1.156).Within(tolerance3Decimals)); }); } @@ -225,7 +225,7 @@ { // Following values are just taken from the Geo Stability calculation and not manually calculated Assert.That(allCalculationResults[0].StabilitySafetyFactor.Value, Is.EqualTo(0.730).Within(tolerance3Decimals)); - Assert.That(allCalculationResults[1].StabilitySafetyFactor.Value, Is.EqualTo(0.998).Within(tolerance3Decimals)); + Assert.That(allCalculationResults[1].StabilitySafetyFactor.Value, Is.EqualTo(1.004).Within(tolerance3Decimals)); Assert.That(allCalculationResults[2].StabilitySafetyFactor.Value, Is.EqualTo(1.102).Within(tolerance3Decimals)); }); } @@ -249,34 +249,34 @@ Assert.Multiple(() => { Assert.That(allCalculationResults[0].StabilitySafetyFactor.Value, Is.EqualTo(0.730).Within(tolerance3Decimals)); - Assert.That(allCalculationResults[1].StabilitySafetyFactor.Value, Is.EqualTo(0.998).Within(tolerance3Decimals)); + Assert.That(allCalculationResults[1].StabilitySafetyFactor.Value, Is.EqualTo(1.004).Within(tolerance3Decimals)); Assert.That(allCalculationResults[2].StabilitySafetyFactor.Value, Is.EqualTo(1.102).Within(tolerance3Decimals)); Assert.That(allCalculationResults[3].StabilitySafetyFactor.Value, Is.EqualTo(0.728).Within(tolerance3Decimals)); - Assert.That(allCalculationResults[4].StabilitySafetyFactor.Value, Is.EqualTo(0.996).Within(tolerance3Decimals)); + Assert.That(allCalculationResults[4].StabilitySafetyFactor.Value, Is.EqualTo(1.003).Within(tolerance3Decimals)); Assert.That(allCalculationResults[5].StabilitySafetyFactor.Value, Is.EqualTo(1.100).Within(tolerance3Decimals)); Assert.That(allCalculationResults[6].StabilitySafetyFactor.Value, Is.EqualTo(0.727).Within(tolerance3Decimals)); - Assert.That(allCalculationResults[7].StabilitySafetyFactor.Value, Is.EqualTo(0.994).Within(tolerance3Decimals)); + Assert.That(allCalculationResults[7].StabilitySafetyFactor.Value, Is.EqualTo(1.002).Within(tolerance3Decimals)); Assert.That(allCalculationResults[8].StabilitySafetyFactor.Value, Is.EqualTo(1.098).Within(tolerance3Decimals)); Assert.That(allCalculationResults[9].StabilitySafetyFactor.Value, Is.EqualTo(0.725).Within(tolerance3Decimals)); - Assert.That(allCalculationResults[10].StabilitySafetyFactor.Value, Is.EqualTo(0.992).Within(tolerance3Decimals)); + Assert.That(allCalculationResults[10].StabilitySafetyFactor.Value, Is.EqualTo(1.000).Within(tolerance3Decimals)); Assert.That(allCalculationResults[11].StabilitySafetyFactor.Value, Is.EqualTo(1.097).Within(tolerance3Decimals)); Assert.That(allCalculationResults[12].StabilitySafetyFactor.Value, Is.EqualTo(0.725).Within(tolerance3Decimals)); - Assert.That(allCalculationResults[13].StabilitySafetyFactor.Value, Is.EqualTo(0.991).Within(tolerance3Decimals)); + Assert.That(allCalculationResults[13].StabilitySafetyFactor.Value, Is.EqualTo(1.000).Within(tolerance3Decimals)); Assert.That(allCalculationResults[14].StabilitySafetyFactor.Value, Is.EqualTo(1.096).Within(tolerance3Decimals)); Assert.That(allCalculationResults[15].StabilitySafetyFactor.Value, Is.EqualTo(0.724).Within(tolerance3Decimals)); - Assert.That(allCalculationResults[16].StabilitySafetyFactor.Value, Is.EqualTo(0.990).Within(tolerance3Decimals)); + Assert.That(allCalculationResults[16].StabilitySafetyFactor.Value, Is.EqualTo(0.999).Within(tolerance3Decimals)); Assert.That(allCalculationResults[17].StabilitySafetyFactor.Value, Is.EqualTo(1.095).Within(tolerance3Decimals)); Assert.That(allCalculationResults[18].StabilitySafetyFactor.Value, Is.EqualTo(0.722).Within(tolerance3Decimals)); - Assert.That(allCalculationResults[19].StabilitySafetyFactor.Value, Is.EqualTo(0.988).Within(tolerance3Decimals)); + Assert.That(allCalculationResults[19].StabilitySafetyFactor.Value, Is.EqualTo(0.998).Within(tolerance3Decimals)); Assert.That(allCalculationResults[20].StabilitySafetyFactor.Value, Is.EqualTo(1.094).Within(tolerance3Decimals)); Assert.That(allCalculationResults[21].StabilitySafetyFactor.Value, Is.EqualTo(0.721).Within(tolerance3Decimals)); - Assert.That(allCalculationResults[22].StabilitySafetyFactor.Value, Is.EqualTo(0.986).Within(tolerance3Decimals)); + Assert.That(allCalculationResults[22].StabilitySafetyFactor.Value, Is.EqualTo(0.997).Within(tolerance3Decimals)); Assert.That(allCalculationResults[23].StabilitySafetyFactor.Value, Is.EqualTo(1.093).Within(tolerance3Decimals)); Assert.That(allCalculationResults[24].StabilitySafetyFactor.Value, Is.EqualTo(0.719).Within(tolerance3Decimals)); - Assert.That(allCalculationResults[25].StabilitySafetyFactor.Value, Is.EqualTo(0.985).Within(tolerance3Decimals)); + Assert.That(allCalculationResults[25].StabilitySafetyFactor.Value, Is.EqualTo(0.995).Within(tolerance3Decimals)); Assert.That(allCalculationResults[26].StabilitySafetyFactor.Value, Is.EqualTo(1.091).Within(tolerance3Decimals)); Assert.That(allCalculationResults[27].StabilitySafetyFactor.Value, Is.EqualTo(0.718).Within(tolerance3Decimals)); - Assert.That(allCalculationResults[28].StabilitySafetyFactor.Value, Is.EqualTo(0.983).Within(tolerance3Decimals)); + Assert.That(allCalculationResults[28].StabilitySafetyFactor.Value, Is.EqualTo(0.994).Within(tolerance3Decimals)); Assert.That(allCalculationResults[29].StabilitySafetyFactor.Value, Is.EqualTo(1.089).Within(tolerance3Decimals)); }); }