Index: Ringtoets/AssemblyTool/test/Ringtoets.AssemblyTool.KernelWrapper.TestUtil.Test/Calculators/Assembly/AssessmentSectionAssemblyCalculatorStubTest.cs =================================================================== diff -u -ra21035138c49e7500530288235b8ab14d6f658c9 -re12f90a0794936d2ccfaf229de252b9f1aeb634c --- Ringtoets/AssemblyTool/test/Ringtoets.AssemblyTool.KernelWrapper.TestUtil.Test/Calculators/Assembly/AssessmentSectionAssemblyCalculatorStubTest.cs (.../AssessmentSectionAssemblyCalculatorStubTest.cs) (revision a21035138c49e7500530288235b8ab14d6f658c9) +++ Ringtoets/AssemblyTool/test/Ringtoets.AssemblyTool.KernelWrapper.TestUtil.Test/Calculators/Assembly/AssessmentSectionAssemblyCalculatorStubTest.cs (.../AssessmentSectionAssemblyCalculatorStubTest.cs) (revision e12f90a0794936d2ccfaf229de252b9f1aeb634c) @@ -275,7 +275,7 @@ // Call CombinedFailureMechanismSectionAssembly[] output = calculator.AssembleCombinedFailureMechanismSections(Enumerable.Empty(), - new Random(21).Next()).ToArray(); + new Random(21).NextDouble()).ToArray(); // Assert var expectedOutput = new[] @@ -315,7 +315,7 @@ // Call IEnumerable output = calculator.AssembleCombinedFailureMechanismSections(Enumerable.Empty(), - random.Next()); + random.NextDouble()); // Assert Assert.AreSame(calculator.CombinedFailureMechanismSectionAssemblyOutput, output); @@ -326,7 +326,7 @@ { // Setup IEnumerable failureMechanismSections = Enumerable.Empty(); - int assessmentSectionLength = new Random(21).Next(); + double assessmentSectionLength = new Random(21).NextDouble(); var calculator = new AssessmentSectionAssemblyCalculatorStub(); // Call @@ -348,7 +348,7 @@ // Call TestDelegate call = () => calculator.AssembleCombinedFailureMechanismSections(Enumerable.Empty(), - new Random(21).Next()); + new Random(21).NextDouble()); // Assert var exception = Assert.Throws(call); Index: Ringtoets/AssemblyTool/test/Ringtoets.AssemblyTool.KernelWrapper.TestUtil/Calculators/Assembly/AssessmentSectionAssemblyCalculatorStub.cs =================================================================== diff -u -ra21035138c49e7500530288235b8ab14d6f658c9 -re12f90a0794936d2ccfaf229de252b9f1aeb634c --- Ringtoets/AssemblyTool/test/Ringtoets.AssemblyTool.KernelWrapper.TestUtil/Calculators/Assembly/AssessmentSectionAssemblyCalculatorStub.cs (.../AssessmentSectionAssemblyCalculatorStub.cs) (revision a21035138c49e7500530288235b8ab14d6f658c9) +++ Ringtoets/AssemblyTool/test/Ringtoets.AssemblyTool.KernelWrapper.TestUtil/Calculators/Assembly/AssessmentSectionAssemblyCalculatorStub.cs (.../AssessmentSectionAssemblyCalculatorStub.cs) (revision e12f90a0794936d2ccfaf229de252b9f1aeb634c) @@ -73,7 +73,7 @@ /// /// Gets the assessment section length input. /// - public int AssessmentSectionLength { get; private set; } + public double AssessmentSectionLength { get; private set; } /// /// Gets or sets the output of the assessment section assembly for failure @@ -157,7 +157,7 @@ } public IEnumerable AssembleCombinedFailureMechanismSections(IEnumerable input, - int assessmentSectionLength) + double assessmentSectionLength) { if (ThrowExceptionOnCalculate) {