Index: Ringtoets/HydraRing/test/Ringtoets.HydraRing.Calculation.TestUtil/HydraRingDataEqualityHelper.cs =================================================================== diff -u -r276a32161f29fcba4af79cf7c7f0aeb254d4db54 -r07cf1185ccd0260f3e72818dff093ff39dbdd816 --- Ringtoets/HydraRing/test/Ringtoets.HydraRing.Calculation.TestUtil/HydraRingDataEqualityHelper.cs (.../HydraRingDataEqualityHelper.cs) (revision 276a32161f29fcba4af79cf7c7f0aeb254d4db54) +++ Ringtoets/HydraRing/test/Ringtoets.HydraRing.Calculation.TestUtil/HydraRingDataEqualityHelper.cs (.../HydraRingDataEqualityHelper.cs) (revision 07cf1185ccd0260f3e72818dff093ff39dbdd816) @@ -56,6 +56,7 @@ AreEqual(expectedInput.ForelandsPoints.ToArray(), actualInput.ForelandsPoints.ToArray()); AreEqual(expectedInput.Variables.ToArray(), actualInput.Variables.ToArray()); } + /// /// Asserts whether or not and are equal to eachother. /// @@ -122,6 +123,21 @@ AreEqual(expectedInput.Variables.ToArray(), actualInput.Variables.ToArray()); } + /// + /// Asserts whether or not and are equal to eachother. + /// + /// The array of expected . + /// The array of actual . + public static void AreEqual(HydraRingVariable[] expected, HydraRingVariable[] actual) + { + Assert.AreEqual(expected.Length, actual.Length); + + for (var i = 0; i < expected.Length; i++) + { + AreEqual(expected[i], actual[i]); + } + } + private static void AreEqual(HydraRingBreakWater expectedBreakWater, HydraRingBreakWater actualBreakWater) { if (expectedBreakWater == null) @@ -153,21 +169,6 @@ } } - /// - /// Asserts whether or not and are equal to eachother. - /// - /// The array of expected . - /// The array of actual . - public static void AreEqual(HydraRingVariable[] expected, HydraRingVariable[] actual) - { - Assert.AreEqual(expected.Length, actual.Length); - - for (var i = 0; i < expected.Length; i++) - { - AreEqual(expected[i], actual[i]); - } - } - private static void AreEqual(HydraRingVariable expected, HydraRingVariable actual) { Assert.AreEqual(expected.DeviationType, actual.DeviationType);