using NUnit.Framework; using Ringtoets.Common.Data.Hydraulics; using Riskeer.HydraRing.Calculation.Data.Input; namespace Ringtoets.Common.Service.TestUtil { /// /// A test helper which can be used to assert instances of . /// public static class HydraRingCalculationSettingsTestHelper { /// /// Asserts whether the contains the correct /// data from . /// /// The /// to assert against. /// The to be asserted. /// Thrown when: /// /// The HLCD file paths do not match. /// The preprocessor directories do not match. /// /// public static void AssertHydraRingCalculationSettings(HydraulicBoundaryCalculationSettings expectedSettings, HydraRingCalculationSettings actualSettings) { Assert.AreEqual(expectedSettings.HlcdFilePath, actualSettings.HlcdFilePath); Assert.AreEqual(expectedSettings.PreprocessorDirectory, actualSettings.PreprocessorDirectory); } } }