Index: Riskeer/Common/test/Riskeer.Common.Data.TestUtil/IllustrationPoints/TestGeneralResult.cs
===================================================================
diff -u
--- Riskeer/Common/test/Riskeer.Common.Data.TestUtil/IllustrationPoints/TestGeneralResult.cs (revision 0)
+++ Riskeer/Common/test/Riskeer.Common.Data.TestUtil/IllustrationPoints/TestGeneralResult.cs (revision 98e9934b4ca9ee71d9b784700a6218305a1c5a83)
@@ -0,0 +1,47 @@
+// Copyright (C) Stichting Deltares 2019. All rights reserved.
+//
+// This file is part of Riskeer.
+//
+// Riskeer is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+//
+// All names, logos, and references to "Deltares" are registered trademarks of
+// Stichting Deltares and remain full property of Stichting Deltares at all times.
+// All rights reserved.
+
+using System.Collections.Generic;
+using Riskeer.Common.Data.IllustrationPoints;
+
+namespace Riskeer.Common.Data.TestUtil.IllustrationPoints
+{
+ ///
+ /// A simple general result which can be used for testing.
+ ///
+ public class TestGeneralResult : GeneralResult
+ where T : TopLevelIllustrationPointBase, new()
+ {
+ ///
+ /// Creates a new instance of .
+ ///
+ public TestGeneralResult() :
+ base(WindDirectionTestFactory.CreateTestWindDirection(),
+ new[]
+ {
+ new Stochast("A", 10.0, 5.0)
+ },
+ new List
+ {
+ new T()
+ }) {}
+ }
+}
\ No newline at end of file
Index: Riskeer/Common/test/Riskeer.Common.Data.TestUtil/IllustrationPoints/TestGeneralResultTopLevelIllustrationPoint.cs
===================================================================
diff -u -r0b3ef93fbcbc29a3b70604e157c7275c018a4c35 -r98e9934b4ca9ee71d9b784700a6218305a1c5a83
--- Riskeer/Common/test/Riskeer.Common.Data.TestUtil/IllustrationPoints/TestGeneralResultTopLevelIllustrationPoint.cs (.../TestGeneralResultTopLevelIllustrationPoint.cs) (revision 0b3ef93fbcbc29a3b70604e157c7275c018a4c35)
+++ Riskeer/Common/test/Riskeer.Common.Data.TestUtil/IllustrationPoints/TestGeneralResultTopLevelIllustrationPoint.cs (.../TestGeneralResultTopLevelIllustrationPoint.cs) (revision 98e9934b4ca9ee71d9b784700a6218305a1c5a83)
@@ -44,19 +44,4 @@
new TestTopLevelIllustrationPoint()
}) {}
}
-
- public class TestGeneralResult : GeneralResult
- where T : TopLevelIllustrationPointBase, new()
- {
- public TestGeneralResult() :
- base(WindDirectionTestFactory.CreateTestWindDirection(),
- new[]
- {
- new Stochast("A", 10.0, 5.0)
- },
- new List
- {
- new T()
- }) {}
- }
}
\ No newline at end of file