Index: Ringtoets/Common/test/Ringtoets.Common.Data.Test/IllustrationPoints/GeneralResultTest.cs =================================================================== diff -u -rd7f56db6a475e07dd904bd61c0a56346aac4e565 -r831379390ac72116a2f1c3a014063bbd60ab928d --- Ringtoets/Common/test/Ringtoets.Common.Data.Test/IllustrationPoints/GeneralResultTest.cs (.../GeneralResultTest.cs) (revision d7f56db6a475e07dd904bd61c0a56346aac4e565) +++ Ringtoets/Common/test/Ringtoets.Common.Data.Test/IllustrationPoints/GeneralResultTest.cs (.../GeneralResultTest.cs) (revision 831379390ac72116a2f1c3a014063bbd60ab928d) @@ -107,14 +107,15 @@ public void Constructor_StochastNamesNotUnique_ThrowArgumentException() { // Setup + var random = new Random(21); WindDirection windDirection = WindDirectionTestFactory.CreateTestWindDirection(); var stochasts = new[] { - new Stochast("unique", 1, 4), - new Stochast("non-unique", 2, 0), - new Stochast("non-unique", 3, 2), - new Stochast("nonunique", 4, 0), - new Stochast("nonunique", 5, 1) + new Stochast("unique", random.NextDouble(), random.NextDouble()), + new Stochast("non-unique", random.NextDouble(), random.NextDouble()), + new Stochast("non-unique", random.NextDouble(), random.NextDouble()), + new Stochast("nonunique", random.NextDouble(), random.NextDouble()), + new Stochast("nonunique", random.NextDouble(), random.NextDouble()) }; IEnumerable topLevelIllustrationPoints = Enumerable.Empty(); @@ -153,7 +154,7 @@ } [Test] - public void Constructor_ChildStochastsNotInStochasts_ThrowArgumentException() + public void Constructor_ChildStochastsNotEqualToTopLevelIllustrationPointStochasts_ThrowArgumentException() { // Setup WindDirection windDirection = WindDirectionTestFactory.CreateTestWindDirection();