Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/Piping/PipingCalculationScenarioCreateExtensionsTest.cs =================================================================== diff -u -r0dfaf04c32ddd8f2ccfe1e244bdc6efcbb3b6857 -r8ba84ca6be21278d394e6763eb202dd8132db92b --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/Piping/PipingCalculationScenarioCreateExtensionsTest.cs (.../PipingCalculationScenarioCreateExtensionsTest.cs) (revision 0dfaf04c32ddd8f2ccfe1e244bdc6efcbb3b6857) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/Piping/PipingCalculationScenarioCreateExtensionsTest.cs (.../PipingCalculationScenarioCreateExtensionsTest.cs) (revision 8ba84ca6be21278d394e6763eb202dd8132db92b) @@ -53,11 +53,11 @@ } [Test] - [TestCase(true, 0.0, "A", "", 2.2, 0.0, 123, 827364)] - [TestCase(false, 1.0, null, null, double.NaN, double.NaN, 980754, 231)] + [TestCase(true, 0.0, "A", "", 2.2, 0.0, 5.8, 123, 827364)] + [TestCase(false, 1.0, null, null, double.NaN, double.NaN, double.NaN, 980754, 231)] public void Create_PipingCalculationScenarioWithPropertiesSet_ReturnPipingCalculationEntity( bool isRelevant, double contribution, string name, string comments, - double exitPoint, double entryPoint, int order, int randomSeed) + double exitPoint, double entryPoint, double assessmentLevel, int order, int randomSeed) { // Setup var random = new Random(randomSeed); @@ -100,7 +100,8 @@ { Mean = (RoundedDouble) random.GetFromRange(1e-6, 9999.9999), StandardDeviation = (RoundedDouble) random.GetFromRange(1e-6, 9999.9999) - } + }, + AssessmentLevel = (RoundedDouble) assessmentLevel } }; @@ -123,6 +124,7 @@ Assert.AreEqual(input.PhreaticLevelExit.StandardDeviation.Value, entity.PhreaticLevelExitStandardDeviation); Assert.AreEqual(input.DampingFactorExit.Mean.Value, entity.DampingFactorExitMean); Assert.AreEqual(input.DampingFactorExit.StandardDeviation.Value, entity.DampingFactorExitStandardDeviation); + Assert.AreEqual(input.AssessmentLevel.Value.ToNaNAsNull(), entity.AssessmentLevel); Assert.AreEqual(order, entity.Order); Assert.AreEqual(0, entity.PipingCalculationEntityId);