Index: Ringtoets/Revetment/test/Ringtoets.Revetment.Data.TestUtil/TestWaveConditionsCalculation.cs
===================================================================
diff -u -r741860b313c16e7a2f918c734c85180886665a80 -rb1e4bfbf29f9aab8b6728523368a8ca8821691f7
--- Ringtoets/Revetment/test/Ringtoets.Revetment.Data.TestUtil/TestWaveConditionsCalculation.cs (.../TestWaveConditionsCalculation.cs) (revision 741860b313c16e7a2f918c734c85180886665a80)
+++ Ringtoets/Revetment/test/Ringtoets.Revetment.Data.TestUtil/TestWaveConditionsCalculation.cs (.../TestWaveConditionsCalculation.cs) (revision b1e4bfbf29f9aab8b6728523368a8ca8821691f7)
@@ -31,23 +31,27 @@
/// 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 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 input)
{
Name = RingtoetsCommonDataResources.Calculation_DefaultName;
- InputParameters = new TestWaveConditionsInput();
+ InputParameters = input;
}
///
/// Gets or sets an object that represents some output of this calculation.
///
public object Output { get; set; }
- public TestWaveConditionsInput InputParameters { get; }
+ public T InputParameters { get; }
public bool HasOutput
{