Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Service.Test/MacroStabilityInwardsInputValidatorTest.cs =================================================================== diff -u -r6cd47071c8dbb10eb401925acbb067c4be9266d9 -rd248ea3daa427ead16113a43fdab6267d061680e --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Service.Test/MacroStabilityInwardsInputValidatorTest.cs (.../MacroStabilityInwardsInputValidatorTest.cs) (revision 6cd47071c8dbb10eb401925acbb067c4be9266d9) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Service.Test/MacroStabilityInwardsInputValidatorTest.cs (.../MacroStabilityInwardsInputValidatorTest.cs) (revision d248ea3daa427ead16113a43fdab6267d061680e) @@ -91,7 +91,7 @@ input.UseAssessmentLevelManualInput = false; // Call - IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input).ToArray(); + IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input, RoundedDouble.NaN).ToArray(); // Assert CollectionAssert.AreEqual(new[] @@ -111,7 +111,7 @@ input.AssessmentLevel = (RoundedDouble) assessmentLevel; // Call - IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input).ToArray(); + IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input, GetTestNormativeAssessmentLevel()).ToArray(); // Assert CollectionAssert.AreEqual(new[] @@ -127,7 +127,7 @@ input.SurfaceLine = null; // Call - IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input).ToArray(); + IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input, GetTestNormativeAssessmentLevel()).ToArray(); // Assert CollectionAssert.AreEqual(new[] @@ -143,7 +143,7 @@ input.StochasticSoilProfile = null; // Call - IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input).ToArray(); + IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input, GetTestNormativeAssessmentLevel()).ToArray(); // Assert CollectionAssert.AreEqual(new[] @@ -193,7 +193,7 @@ input.SurfaceLine = surfaceLine; // Call - IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input).ToArray(); + IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input, GetTestNormativeAssessmentLevel()).ToArray(); // Assert CollectionAssert.AreEqual(new[] @@ -244,7 +244,7 @@ input.SurfaceLine = surfaceLine; // Call - IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input).ToArray(); + IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input, GetTestNormativeAssessmentLevel()).ToArray(); // Assert CollectionAssert.IsEmpty(messages); @@ -269,7 +269,7 @@ input.SurfaceLine = surfaceLine; // Call - IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input).ToArray(); + IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input, GetTestNormativeAssessmentLevel()).ToArray(); // Assert CollectionAssert.AreEqual(new[] @@ -296,7 +296,7 @@ input.SurfaceLine = surfaceLine; // Call - IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input).ToArray(); + IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input, GetTestNormativeAssessmentLevel()).ToArray(); // Assert CollectionAssert.IsEmpty(messages); @@ -310,7 +310,7 @@ input.ZoneBoundaryRight = (RoundedDouble) 0.2; // Call - IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input).ToArray(); + IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input, GetTestNormativeAssessmentLevel()).ToArray(); // Assert CollectionAssert.AreEqual(new[] @@ -330,7 +330,7 @@ input.ZoneBoundaryRight = (RoundedDouble) zoneBoundaryRight; // Call - IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input).ToArray(); + IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input, GetTestNormativeAssessmentLevel()).ToArray(); // Assert CollectionAssert.AreEqual(new[] @@ -354,7 +354,7 @@ input.CreateZones = createZones; // Call - IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input).ToArray(); + IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input, GetTestNormativeAssessmentLevel()).ToArray(); // Assert CollectionAssert.IsEmpty(messages); @@ -370,7 +370,7 @@ input.TangentLineZBottom = (RoundedDouble) 1.5; // Call - IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input).ToArray(); + IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input, GetTestNormativeAssessmentLevel()).ToArray(); // Assert CollectionAssert.AreEqual(new[] @@ -389,7 +389,7 @@ input.TangentLineZBottom = (RoundedDouble) 0.2; // Call - IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input).ToArray(); + IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input, GetTestNormativeAssessmentLevel()).ToArray(); // Assert CollectionAssert.IsEmpty(messages); @@ -404,7 +404,7 @@ input.TangentLineZBottom = (RoundedDouble) 1.59; // Call - IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input).ToArray(); + IEnumerable messages = MacroStabilityInwardsInputValidator.Validate(input, GetTestNormativeAssessmentLevel()).ToArray(); // Assert CollectionAssert.IsEmpty(messages);