Index: Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/PipingInputTest.cs =================================================================== diff -u -rd859a8308857ce1bf82ff94356a30363213c6ff6 -r41a37c93cb0b3e36ff7023c9f42b4e6225598b55 --- Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/PipingInputTest.cs (.../PipingInputTest.cs) (revision d859a8308857ce1bf82ff94356a30363213c6ff6) +++ Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/PipingInputTest.cs (.../PipingInputTest.cs) (revision 41a37c93cb0b3e36ff7023c9f42b4e6225598b55) @@ -58,38 +58,38 @@ var diameter70 = new LogNormalDistribution(6) { - Mean = (RoundedDouble) double.NaN, - StandardDeviation = (RoundedDouble) double.NaN + Mean = RoundedDouble.NaN, + StandardDeviation = RoundedDouble.NaN }; var darcyPermeability = new LogNormalDistribution(6) { - Mean = (RoundedDouble) double.NaN, - StandardDeviation = (RoundedDouble) double.NaN + Mean = RoundedDouble.NaN, + StandardDeviation = RoundedDouble.NaN }; var thicknessCoverageLayer = new LogNormalDistribution(2) { - Mean = (RoundedDouble) double.NaN, + Mean = RoundedDouble.NaN, StandardDeviation = (RoundedDouble) 0.5 }; var saturatedVolumicWeightOfCoverageLayer = new LogNormalDistribution(2) { - Mean = (RoundedDouble) double.NaN, - StandardDeviation = (RoundedDouble) double.NaN + Mean = RoundedDouble.NaN, + StandardDeviation = RoundedDouble.NaN }; var thicknessAquiferLayer = new LogNormalDistribution(2) { - Mean = (RoundedDouble) double.NaN, + Mean = RoundedDouble.NaN, StandardDeviation = (RoundedDouble) 0.5 }; var seepageLength = new LogNormalDistribution(2) { - Mean = (RoundedDouble) double.NaN, - StandardDeviation = (RoundedDouble) double.NaN + Mean = RoundedDouble.NaN, + StandardDeviation = RoundedDouble.NaN }; GeneralPipingInput generalInputParameters = new GeneralPipingInput(); @@ -198,7 +198,7 @@ { // Setup PipingInput input = PipingCalculationFactory.CreateInputWithAquiferAndCoverageLayer(); - input.EntryPointL = (RoundedDouble) double.NaN; + input.EntryPointL = RoundedDouble.NaN; // Call TestDelegate call = () => input.ExitPointL = (RoundedDouble) value; @@ -217,7 +217,7 @@ { // Setup PipingInput input = PipingCalculationFactory.CreateInputWithAquiferAndCoverageLayer(); - input.EntryPointL = (RoundedDouble) double.NaN; + input.EntryPointL = RoundedDouble.NaN; int originalNumberOfDecimalPlaces = input.ExitPointL.NumberOfDecimalPlaces; @@ -257,7 +257,7 @@ { // Setup PipingInput input = PipingCalculationFactory.CreateInputWithAquiferAndCoverageLayer(); - input.ExitPointL = (RoundedDouble) double.NaN; + input.ExitPointL = RoundedDouble.NaN; // Call TestDelegate call = () => input.EntryPointL = (RoundedDouble) value; @@ -276,7 +276,7 @@ { // Setup PipingInput input = PipingCalculationFactory.CreateInputWithAquiferAndCoverageLayer(); - input.ExitPointL = (RoundedDouble) double.NaN; + input.ExitPointL = RoundedDouble.NaN; int originalNumberOfDecimalPlaces = input.EntryPointL.NumberOfDecimalPlaces; @@ -555,7 +555,7 @@ { // Setup PipingInput input = PipingCalculationFactory.CreateInputWithAquiferAndCoverageLayer(); - input.ExitPointL = (RoundedDouble) double.NaN; + input.ExitPointL = RoundedDouble.NaN; // Call LogNormalDistribution thicknessAquiferLayer = input.ThicknessAquiferLayer; @@ -768,7 +768,7 @@ { // Setup PipingInput input = PipingCalculationFactory.CreateInputWithAquiferAndCoverageLayer(); - input.EntryPointL = (RoundedDouble) double.NaN; + input.EntryPointL = RoundedDouble.NaN; // Call LogNormalDistribution seepageLength = input.SeepageLength; @@ -783,7 +783,7 @@ { // Setup PipingInput input = PipingCalculationFactory.CreateInputWithAquiferAndCoverageLayer(); - input.ExitPointL = (RoundedDouble) double.NaN; + input.ExitPointL = RoundedDouble.NaN; // Call LogNormalDistribution seepageLength = input.SeepageLength;