Index: Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/ForeshoreProfilePermutationHelperTest.cs =================================================================== diff -u -rf411570487c2c859af89b0cefd544386a6a60c15 -r5b29217fb2099ab005ad86d9f53dbd8369210372 --- Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/ForeshoreProfilePermutationHelperTest.cs (.../ForeshoreProfilePermutationHelperTest.cs) (revision f411570487c2c859af89b0cefd544386a6a60c15) +++ Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/ForeshoreProfilePermutationHelperTest.cs (.../ForeshoreProfilePermutationHelperTest.cs) (revision 5b29217fb2099ab005ad86d9f53dbd8369210372) @@ -37,12 +37,12 @@ const string testResultDescription = "D"; // Call - List testCaseDatas = ForeshoreProfilePermutationHelper.DifferentForeshoreProfileWithSameIdNameAndX0( + TestCaseData[] testCaseDatas = ForeshoreProfilePermutationHelper.DifferentForeshoreProfilesWithSameIdNameAndX0( targetName, - testResultDescription).ToList(); + testResultDescription).ToArray(); // Assert - Assert.AreEqual(5, testCaseDatas.Count); + Assert.AreEqual(5, testCaseDatas.Length); AssertTestNames(testCaseDatas, targetName, testResultDescription); AssertProperties(testCaseDatas, true); } @@ -55,12 +55,12 @@ const string testResultDescription = "D"; // Call - List testCaseDatas = ForeshoreProfilePermutationHelper.DifferentForeshoreProfileWithSameIdNameOrientationAndX0( + TestCaseData[] testCaseDatas = ForeshoreProfilePermutationHelper.DifferentForeshoreProfilesWithSameIdNameOrientationAndX0( targetName, - testResultDescription).ToList(); + testResultDescription).ToArray(); // Assert - Assert.AreEqual(4, testCaseDatas.Count); + Assert.AreEqual(4, testCaseDatas.Length); AssertTestNames(testCaseDatas, targetName, testResultDescription); AssertProperties(testCaseDatas, false); } @@ -110,7 +110,6 @@ differentProfiles.Add(profiles.Single(p => p.BreakWater != null && p.BreakWater.Type.Equals(BreakWaterType.Caisson) && p.BreakWater.Height.Equals(defaultBreakWater.Height))); - differentProfiles.Add(profiles.Single(p => p.BreakWater != null && p.BreakWater.Type.Equals(BreakWaterType.Wall) && p.BreakWater.Height.Equals(defaultBreakWater.Height)));