Index: Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/Configurations/WaveConditionsCalculationConfigurationTest.cs =================================================================== diff -u -r4274bc4f40504c659612e15175dc635fc6e5bba9 -r4fa75e2c07753d69a156377821eec5caaff7fc11 --- Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/Configurations/WaveConditionsCalculationConfigurationTest.cs (.../WaveConditionsCalculationConfigurationTest.cs) (revision 4274bc4f40504c659612e15175dc635fc6e5bba9) +++ Ringtoets/Revetment/test/Ringtoets.Revetment.IO.Test/Configurations/WaveConditionsCalculationConfigurationTest.cs (.../WaveConditionsCalculationConfigurationTest.cs) (revision 4fa75e2c07753d69a156377821eec5caaff7fc11) @@ -59,10 +59,7 @@ Assert.IsNull(readCalculation.StepSize); Assert.IsNull(readCalculation.ForeshoreProfile); Assert.IsNull(readCalculation.Orientation); - Assert.IsNull(readCalculation.UseBreakWater); - Assert.IsNull(readCalculation.BreakWaterType); - Assert.IsNull(readCalculation.BreakWaterHeight); - Assert.IsNull(readCalculation.UseForeshore); + Assert.IsNull(readCalculation.WaveReduction); } [Test] @@ -85,7 +82,7 @@ // Call var readWaveConditionsCalculation = new WaveConditionsCalculationConfiguration(calculationName) - { + { HydraulicBoundaryLocation = hydraulicBoundaryLocation, UpperBoundaryRevetment = upperBoundaryRevetment, LowerBoundaryRevetment = lowerBoundaryRevetment, @@ -94,10 +91,13 @@ StepSize = stepSize, ForeshoreProfile = foreshoreProfileName, Orientation = orientation, - UseBreakWater = useBreakWater, - BreakWaterType = breakWaterType, - BreakWaterHeight = breakWaterHeight, - UseForeshore = useForeshore + WaveReduction = new WaveReductionConfiguration + { + UseBreakWater = useBreakWater, + BreakWaterType = breakWaterType, + BreakWaterHeight = breakWaterHeight, + UseForeshoreProfile = useForeshore + } }; // Assert @@ -110,10 +110,10 @@ Assert.AreEqual(stepSize, readWaveConditionsCalculation.StepSize); Assert.AreEqual(foreshoreProfileName, readWaveConditionsCalculation.ForeshoreProfile); Assert.AreEqual(orientation, readWaveConditionsCalculation.Orientation); - Assert.AreEqual(useBreakWater, readWaveConditionsCalculation.UseBreakWater); - Assert.AreEqual(breakWaterType, readWaveConditionsCalculation.BreakWaterType); - Assert.AreEqual(breakWaterHeight, readWaveConditionsCalculation.BreakWaterHeight); - Assert.AreEqual(useForeshore, readWaveConditionsCalculation.UseForeshore); + Assert.AreEqual(useBreakWater, readWaveConditionsCalculation.WaveReduction.UseBreakWater); + Assert.AreEqual(breakWaterType, readWaveConditionsCalculation.WaveReduction.BreakWaterType); + Assert.AreEqual(breakWaterHeight, readWaveConditionsCalculation.WaveReduction.BreakWaterHeight); + Assert.AreEqual(useForeshore, readWaveConditionsCalculation.WaveReduction.UseForeshoreProfile); } } } \ No newline at end of file