Index: Ringtoets/Revetment/test/Ringtoets.Revetment.Data.TestUtil/TestWaveConditionsCalculation.cs =================================================================== diff -u -r74b981a6b3b1e97762b70f72ed9f8faa4727992b -rc7069ba91ff360559c23076e7a3931dcacbacffa --- Ringtoets/Revetment/test/Ringtoets.Revetment.Data.TestUtil/TestWaveConditionsCalculation.cs (.../TestWaveConditionsCalculation.cs) (revision 74b981a6b3b1e97762b70f72ed9f8faa4727992b) +++ Ringtoets/Revetment/test/Ringtoets.Revetment.Data.TestUtil/TestWaveConditionsCalculation.cs (.../TestWaveConditionsCalculation.cs) (revision c7069ba91ff360559c23076e7a3931dcacbacffa) @@ -28,26 +28,31 @@ namespace Ringtoets.Revetment.Data.TestUtil { /// - /// Creates a simple implementation - /// for wave conditions, which can have an object set as output. + /// Creates a simple implementation for + /// wave conditions, which can have an object set as output. /// - public class TestWaveConditionsCalculation : Observable, ICalculation + /// The type of the wave conditions input contained + /// by the test calculation. + public class TestWaveConditionsCalculation : Observable, ICalculation + where T : WaveConditionsInput { /// - /// Creates a new instance of . + /// Creates a new instance of . /// - public TestWaveConditionsCalculation() + /// The wave conditions input to set to + /// the calculation. + public TestWaveConditionsCalculation(T waveConditionsInput) { Name = RingtoetsCommonDataResources.Calculation_DefaultName; - InputParameters = new TestWaveConditionsInput(); + InputParameters = waveConditionsInput; } /// /// Gets or sets an object that represents some output of this calculation. /// public object Output { get; set; } - public WaveConditionsInput InputParameters { get; } + public T InputParameters { get; } public bool HasOutput {