Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.Test/StabilityPointStructuresInputTest.cs =================================================================== diff -u -ra99b18246b00d4c622d0fe932c35ff5454339f8b -r7d00d20d40db2721d6d2f64ed8410d592dd437e7 --- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.Test/StabilityPointStructuresInputTest.cs (.../StabilityPointStructuresInputTest.cs) (revision a99b18246b00d4c622d0fe932c35ff5454339f8b) +++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.Test/StabilityPointStructuresInputTest.cs (.../StabilityPointStructuresInputTest.cs) (revision 7d00d20d40db2721d6d2f64ed8410d592dd437e7) @@ -381,6 +381,21 @@ #region Schematization [Test] + public void Properties_LevelCrestStructure_ExpectedValues() + { + // Setup + var input = new StabilityPointStructuresInput(); + NormalDistribution levelCrestStructure = GenerateNormalDistribution(); + + // Call + input.LevelCrestStructure = levelCrestStructure; + + // Assert + AssertEqualValue(levelCrestStructure.Mean, input.LevelCrestStructure.Mean); + AssertEqualValue(levelCrestStructure.StandardDeviation, input.LevelCrestStructure.StandardDeviation); + } + + [Test] [TestCase(360.004)] [TestCase(300)] [TestCase(0)] @@ -406,7 +421,7 @@ [TestCase(-23)] [TestCase(double.NegativeInfinity)] [TestCase(double.PositiveInfinity)] - public void Properties_StructureNormalOrientationInValidValues_ThrowArgumentOutOfRangeException(double invalidValue) + public void Properties_StructureNormalOrientationInvalidValues_ThrowArgumentOutOfRangeException(double invalidValue) { // Setup var input = new StabilityPointStructuresInput(); @@ -415,26 +430,10 @@ TestDelegate call = () => input.StructureNormalOrientation = (RoundedDouble) invalidValue; // Assert - // Assert TestHelper.AssertThrowsArgumentExceptionAndTestMessage(call, "De waarde voor de oriƫntatie moet in het bereik tussen [0, 360] graden liggen."); } [Test] - public void Properties_LevelCrestStructure_ExpectedValues() - { - // Setup - var input = new StabilityPointStructuresInput(); - NormalDistribution levelCrestStructure = GenerateNormalDistribution(); - - // Call - input.LevelCrestStructure = levelCrestStructure; - - // Assert - AssertEqualValue(levelCrestStructure.Mean, input.LevelCrestStructure.Mean); - AssertEqualValue(levelCrestStructure.StandardDeviation, input.LevelCrestStructure.StandardDeviation); - } - - [Test] public void Properties_ThresholdHeightOpenWeir_ExpectedValues() { // Setup