Index: Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.IO/DuneLocationCalculationsExporter.cs =================================================================== diff -u -rbd5cd12c211e63d9ad3be8235234449571c4460c -r3fa2200f5ad050d55eec5b00f3ef2e7084a0c223 --- Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.IO/DuneLocationCalculationsExporter.cs (.../DuneLocationCalculationsExporter.cs) (revision bd5cd12c211e63d9ad3be8235234449571c4460c) +++ Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.IO/DuneLocationCalculationsExporter.cs (.../DuneLocationCalculationsExporter.cs) (revision 3fa2200f5ad050d55eec5b00f3ef2e7084a0c223) @@ -25,7 +25,6 @@ using Core.Common.IO.Exceptions; using Core.Common.Util; using log4net; -using Ringtoets.DuneErosion.Data; using RingtoetsCommonIOResources = Ringtoets.Common.IO.Properties.Resources; namespace Ringtoets.DuneErosion.IO @@ -37,34 +36,34 @@ { private static readonly ILog log = LogManager.GetLogger(typeof(DuneLocationCalculationsExporter)); - private readonly IEnumerable duneLocationCalculations; + private readonly IEnumerable exportableDuneLocationCalculations; private readonly string filePath; /// /// Creates a new instance of . /// - /// The dune location calculations to export. + /// The dune location calculations to export. /// The path of the file to export to. - /// Thrown when is null. + /// Thrown when is null. /// Thrown when is invalid. - public DuneLocationCalculationsExporter(IEnumerable duneLocationCalculations, string filePath) + public DuneLocationCalculationsExporter(IEnumerable exportableDuneLocationCalculations, string filePath) { - if (duneLocationCalculations == null) + if (exportableDuneLocationCalculations == null) { - throw new ArgumentNullException(nameof(duneLocationCalculations)); + throw new ArgumentNullException(nameof(exportableDuneLocationCalculations)); } IOUtils.ValidateFilePath(filePath); - this.duneLocationCalculations = duneLocationCalculations; + this.exportableDuneLocationCalculations = exportableDuneLocationCalculations; this.filePath = filePath; } public bool Export() { try { - DuneLocationCalculationsWriter.WriteDuneLocationCalculations(duneLocationCalculations, filePath); + DuneLocationCalculationsWriter.WriteDuneLocationCalculations(exportableDuneLocationCalculations, filePath); } catch (CriticalFileWriteException e) { Index: Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.IO/DuneLocationCalculationsWriter.cs =================================================================== diff -u -re9357a3fefe5ebe77bb3d40c44048b49d28bfcd2 -r3fa2200f5ad050d55eec5b00f3ef2e7084a0c223 --- Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.IO/DuneLocationCalculationsWriter.cs (.../DuneLocationCalculationsWriter.cs) (revision e9357a3fefe5ebe77bb3d40c44048b49d28bfcd2) +++ Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.IO/DuneLocationCalculationsWriter.cs (.../DuneLocationCalculationsWriter.cs) (revision 3fa2200f5ad050d55eec5b00f3ef2e7084a0c223) @@ -26,6 +26,7 @@ using System.Text; using Core.Common.Base.Data; using Core.Common.IO.Exceptions; +using Ringtoets.Common.Forms.TypeConverters; using Ringtoets.DuneErosion.Data; using Ringtoets.DuneErosion.IO.Properties; using CoreCommonUtilResources = Core.Common.Util.Properties.Resources; @@ -43,16 +44,16 @@ /// /// Writes dune location calculations to a bnd file. /// - /// The dune location calculations to be written to the file. + /// The dune location calculations to be written to the file. /// The path to the file. /// Thrown when any parameter is null. /// Thrown when unable to write to . - public static void WriteDuneLocationCalculations(IEnumerable duneLocationCalculations, + public static void WriteDuneLocationCalculations(IEnumerable exportableDuneLocationCalculations, string filePath) { - if (duneLocationCalculations == null) + if (exportableDuneLocationCalculations == null) { - throw new ArgumentNullException(nameof(duneLocationCalculations)); + throw new ArgumentNullException(nameof(exportableDuneLocationCalculations)); } if (filePath == null) @@ -61,11 +62,12 @@ } var stringBuilder = new StringBuilder(Resources.DuneLocationCalculationsWriter_WriteDuneLocationCalculations_HeaderLine + Environment.NewLine); + stringBuilder.AppendLine(Resources.DuneLocationCalculationsWriter_WriteDuneLocationCalculations_DisplayNameLine); stringBuilder.AppendLine(Resources.DuneLocationCalculationsWriter_WriteDuneLocationCalculations_UnitsLine); try { - foreach (DuneLocationCalculation calculation in duneLocationCalculations) + foreach (ExportableDuneLocationCalculation calculation in exportableDuneLocationCalculations) { stringBuilder.AppendLine(CreateCsvLine(calculation)); } @@ -78,18 +80,21 @@ } } - private static string CreateCsvLine(DuneLocationCalculation calculation) + private static string CreateCsvLine(ExportableDuneLocationCalculation calculation) { - DuneLocation duneLocation = calculation.DuneLocation; + DuneLocation duneLocation = calculation.Calculation.DuneLocation; var stringComponents = new List { duneLocation.CoastalAreaId.ToString(null, CultureInfo.InvariantCulture), duneLocation.Offset.ToString(DuneErosionDataResources.DuneLocation_Offset_format, CultureInfo.InvariantCulture), Resources.DuneLocationCalculationsWriter_CreateCsvLine_Parameter_without_value, - duneLocation.D50.ToString(null, CultureInfo.InvariantCulture) + duneLocation.D50.ToString(null, CultureInfo.InvariantCulture), + calculation.CategoryBoundaryName + " (Pfdsn = " + new NoProbabilityValueDoubleConverter().ConvertToInvariantString(calculation.Norm) + " jaar)", + calculation.CategoryBoundaryName, + calculation.Norm.ToString(CultureInfo.InvariantCulture) }; - stringComponents.InsertRange(2, GetOutputValues(calculation.Output)); + stringComponents.InsertRange(2, GetOutputValues(calculation.Calculation.Output)); return string.Join(separator, stringComponents); } Index: Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.IO/Properties/Resources.Designer.cs =================================================================== diff -u -re9357a3fefe5ebe77bb3d40c44048b49d28bfcd2 -r3fa2200f5ad050d55eec5b00f3ef2e7084a0c223 --- Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.IO/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision e9357a3fefe5ebe77bb3d40c44048b49d28bfcd2) +++ Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.IO/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 3fa2200f5ad050d55eec5b00f3ef2e7084a0c223) @@ -91,16 +91,25 @@ } /// - /// Looks up a localized string similar to Kv Nr Rp Hs Tp Tm-1,0 D50. + /// Looks up a localized string similar to *Kustvaknummer Metrering Rekenpeil Significante golfhoogte Piekperiode Spectrale periode Korreldiameter Scenario Categorie Pfdsn. /// + internal static string DuneLocationCalculationsWriter_WriteDuneLocationCalculations_DisplayNameLine { + get { + return ResourceManager.GetString("DuneLocationCalculationsWriter_WriteDuneLocationCalculations_DisplayNameLine", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Kv Nr Rp Hs Tp Tm-1,0 D50 _WBI2017_ID _WBI2017_Categorie _WBI2017_Waarde. + /// internal static string DuneLocationCalculationsWriter_WriteDuneLocationCalculations_HeaderLine { get { return ResourceManager.GetString("DuneLocationCalculationsWriter_WriteDuneLocationCalculations_HeaderLine", resourceCulture); } } /// - /// Looks up a localized string similar to *[-] [dam] [m+NAP] [m] [s] [s] [m]. + /// Looks up a localized string similar to *[-] [dam] [m+NAP] [m] [s] [s] [m] [-] [-] [1/jaar]. /// internal static string DuneLocationCalculationsWriter_WriteDuneLocationCalculations_UnitsLine { get { Index: Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.IO/Properties/Resources.resx =================================================================== diff -u -re9357a3fefe5ebe77bb3d40c44048b49d28bfcd2 -r3fa2200f5ad050d55eec5b00f3ef2e7084a0c223 --- Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.IO/Properties/Resources.resx (.../Resources.resx) (revision e9357a3fefe5ebe77bb3d40c44048b49d28bfcd2) +++ Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.IO/Properties/Resources.resx (.../Resources.resx) (revision 3fa2200f5ad050d55eec5b00f3ef2e7084a0c223) @@ -121,9 +121,12 @@ * - Kv Nr Rp Hs Tp Tm-1,0 D50 + Kv Nr Rp Hs Tp Tm-1,0 D50 _WBI2017_ID _WBI2017_Categorie _WBI2017_Waarde + + *Kustvaknummer Metrering Rekenpeil Significante golfhoogte Piekperiode Spectrale periode Korreldiameter Scenario Categorie Pfdsn + - *[-] [dam] [m+NAP] [m] [s] [s] [m] + *[-] [dam] [m+NAP] [m] [s] [s] [m] [-] [-] [1/jaar] \ No newline at end of file Index: Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.Plugin/DuneErosionPlugin.cs =================================================================== diff -u -rd4a4f6fc0626fe052dc73d5bdba16a28a82e299d -r3fa2200f5ad050d55eec5b00f3ef2e7084a0c223 --- Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.Plugin/DuneErosionPlugin.cs (.../DuneErosionPlugin.cs) (revision d4a4f6fc0626fe052dc73d5bdba16a28a82e299d) +++ Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.Plugin/DuneErosionPlugin.cs (.../DuneErosionPlugin.cs) (revision 3fa2200f5ad050d55eec5b00f3ef2e7084a0c223) @@ -156,7 +156,10 @@ yield return new ExportInfo { Name = RingtoetsCommonDataResources.HydraulicBoundaryConditions_DisplayName, - CreateFileExporter = (context, filePath) => new DuneLocationCalculationsExporter(context.WrappedData, filePath), + CreateFileExporter = (context, filePath) => new DuneLocationCalculationsExporter(context.WrappedData.Select(calc => new ExportableDuneLocationCalculation( + calc, + context.GetNormFunc(), + context.CategoryBoundaryName)).ToArray(), filePath), IsEnabled = context => context.WrappedData.Any(calculation => calculation.Output != null), FileFilterGenerator = new FileFilterGenerator( Resources.DuneErosionPlugin_GetExportInfos_MorphAn_boundary_conditions_file_filter_Extension, Index: Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.IO.Test/DuneLocationCalculationsExporterTest.cs =================================================================== diff -u -r649b0974fb71df7368d19682bc255618f44d49c1 -r3fa2200f5ad050d55eec5b00f3ef2e7084a0c223 --- Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.IO.Test/DuneLocationCalculationsExporterTest.cs (.../DuneLocationCalculationsExporterTest.cs) (revision 649b0974fb71df7368d19682bc255618f44d49c1) +++ Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.IO.Test/DuneLocationCalculationsExporterTest.cs (.../DuneLocationCalculationsExporterTest.cs) (revision 3fa2200f5ad050d55eec5b00f3ef2e7084a0c223) @@ -42,21 +42,21 @@ string filePath = TestHelper.GetScratchPadPath(Path.Combine(nameof(DuneLocationCalculationsExporterTest), "test.bnd")); // Call - var exporter = new DuneLocationCalculationsExporter(Enumerable.Empty(), filePath); + var exporter = new DuneLocationCalculationsExporter(Enumerable.Empty(), filePath); // Assert Assert.IsInstanceOf(exporter); } [Test] - public void Constructor_DuneLocationCalculationsNull_ThrowArgumentNullException() + public void Constructor_ExportableDuneLocationCalculationsNull_ThrowArgumentNullException() { // Call TestDelegate test = () => new DuneLocationCalculationsExporter(null, "IAmValid.bnd"); // Assert var exception = Assert.Throws(test); - Assert.AreEqual("duneLocationCalculations", exception.ParamName); + Assert.AreEqual("exportableDuneLocationCalculations", exception.ParamName); } [Test] @@ -66,7 +66,7 @@ public void Constructor_FilePathInvalid_ThrowArgumentException(string filePath) { // Call - TestDelegate test = () => new DuneLocationCalculationsExporter(Enumerable.Empty(), filePath); + TestDelegate test = () => new DuneLocationCalculationsExporter(Enumerable.Empty(), filePath); // Assert Assert.Throws(test); @@ -76,19 +76,28 @@ public void Export_ValidData_ReturnTrueAndWritesFile() { // Setup - var calculationWithoutOutput = new DuneLocationCalculation(CreateDuneLocationForExport(9, 9740, 1.9583e-4)); + var calculationWithoutOutput = new ExportableDuneLocationCalculation( + new DuneLocationCalculation(CreateDuneLocationForExport(9, 9740, 1.9583e-4)), + 0.5, + "A"); - var calculationWithUncalculatedOutput = new DuneLocationCalculation(CreateDuneLocationForExport(10, 9770.1, 1.9583e-4)) - { - Output = CreateDuneLocationCalculationOutputForExport(double.NaN, double.NaN, double.NaN) - }; + var calculationWithUncalculatedOutput = new ExportableDuneLocationCalculation( + new DuneLocationCalculation(CreateDuneLocationForExport(10, 9770.1, 1.9583e-4)) + { + Output = CreateDuneLocationCalculationOutputForExport(double.NaN, double.NaN, double.NaN) + }, + 0.25, + "B"); - var calculationWithOutput = new DuneLocationCalculation(CreateDuneLocationForExport(11, 9771.34, 1.337e-4)) - { - Output = CreateDuneLocationCalculationOutputForExport(5.89, 14.11, 8.53) - }; + var calculationWithOutput = new ExportableDuneLocationCalculation( + new DuneLocationCalculation(CreateDuneLocationForExport(11, 9771.34, 1.337e-4)) + { + Output = CreateDuneLocationCalculationOutputForExport(5.89, 14.11, 8.53) + }, + 0.1, + "C"); - DuneLocationCalculation[] duneLocationCalculations = + ExportableDuneLocationCalculation[] exportableDuneLocationCalculations = { calculationWithoutOutput, calculationWithUncalculatedOutput, @@ -100,7 +109,7 @@ { string filePath = Path.Combine(directoryPath, "test.bnd"); - var exporter = new DuneLocationCalculationsExporter(duneLocationCalculations, filePath); + var exporter = new DuneLocationCalculationsExporter(exportableDuneLocationCalculations, filePath); // Call bool isExported = exporter.Export(); @@ -109,11 +118,12 @@ Assert.IsTrue(isExported); Assert.IsTrue(File.Exists(filePath)); string fileContent = File.ReadAllText(filePath); - string expectedText = $"Kv\tNr\tRp\tHs\tTp\tTm-1,0\tD50{Environment.NewLine}" + - $"*[-]\t[dam]\t[m+NAP]\t[m]\t[s]\t[s]\t[m]{Environment.NewLine}" + - $"9\t9740\t*\t*\t*\t*\t0.000196{Environment.NewLine}" + - $"10\t9770.1\t*\t*\t*\t*\t0.000196{Environment.NewLine}" + - $"11\t9771.3\t5.89\t8.53\t14.11\t*\t0.000134{Environment.NewLine}"; + string expectedText = $"Kv\tNr\tRp\tHs\tTp\tTm-1,0\tD50\t_WBI2017_ID\t_WBI2017_Categorie\t_WBI2017_Waarde{Environment.NewLine}" + + $"*Kustvaknummer\tMetrering\tRekenpeil\tSignificante golfhoogte\tPiekperiode\tSpectrale periode\tKorreldiameter\tScenario\tCategorie\tPfdsn{Environment.NewLine}" + + $"*[-]\t[dam]\t[m+NAP]\t[m]\t[s]\t[s]\t[m]\t[-]\t[-]\t[1/jaar]{Environment.NewLine}" + + $"9\t9740\t*\t*\t*\t*\t0.000196\tA (Pfdsn = 1/2 jaar)\tA\t0.5{Environment.NewLine}" + + $"10\t9770.1\t*\t*\t*\t*\t0.000196\tB (Pfdsn = 1/4 jaar)\tB\t0.25{Environment.NewLine}" + + $"11\t9771.3\t5.89\t8.53\t14.11\t*\t0.000134\tC (Pfdsn = 1/10 jaar)\tC\t0.1{Environment.NewLine}"; Assert.AreEqual(expectedText, fileContent); } } @@ -126,7 +136,7 @@ using (var disposeHelper = new DirectoryDisposeHelper(TestHelper.GetScratchPadPath(), nameof(Export_InvalidDirectoryRights_LogErrorAndReturnFalse))) { string filePath = Path.Combine(directoryPath, "test.bnd"); - var exporter = new DuneLocationCalculationsExporter(Enumerable.Empty(), filePath); + var exporter = new DuneLocationCalculationsExporter(Enumerable.Empty(), filePath); disposeHelper.LockDirectory(FileSystemRights.Write); var isExported = true; Index: Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.IO.Test/DuneLocationCalculationsWriterTest.cs =================================================================== diff -u -re5e17b215166c0d4451d922e477cc4d0a4c15205 -r3fa2200f5ad050d55eec5b00f3ef2e7084a0c223 --- Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.IO.Test/DuneLocationCalculationsWriterTest.cs (.../DuneLocationCalculationsWriterTest.cs) (revision e5e17b215166c0d4451d922e477cc4d0a4c15205) +++ Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.IO.Test/DuneLocationCalculationsWriterTest.cs (.../DuneLocationCalculationsWriterTest.cs) (revision 3fa2200f5ad050d55eec5b00f3ef2e7084a0c223) @@ -36,21 +36,21 @@ public class DuneLocationCalculationsWriterTest { [Test] - public void WriteDuneLocationCalculations_DuneLocationCalculationsNull_ThrowArgumentNullException() + public void WriteDuneLocationCalculations_ExportableDuneLocationCalculationsNull_ThrowArgumentNullException() { // Call TestDelegate test = () => DuneLocationCalculationsWriter.WriteDuneLocationCalculations(null, string.Empty); // Assert var exception = Assert.Throws(test); - Assert.AreEqual("duneLocationCalculations", exception.ParamName); + Assert.AreEqual("exportableDuneLocationCalculations", exception.ParamName); } [Test] public void WriteDuneLocationCalculations_FilePathNull_ThrowArgumentNullException() { // Call - TestDelegate test = () => DuneLocationCalculationsWriter.WriteDuneLocationCalculations(Enumerable.Empty(), null); + TestDelegate test = () => DuneLocationCalculationsWriter.WriteDuneLocationCalculations(Enumerable.Empty(), null); // Assert var exception = Assert.Throws(test); @@ -64,7 +64,7 @@ public void WriteDuneLocationCalculations_FilePathInvalid_ThrowCriticalFileWriteException(string filePath) { // Call - TestDelegate call = () => DuneLocationCalculationsWriter.WriteDuneLocationCalculations(Enumerable.Empty(), filePath); + TestDelegate call = () => DuneLocationCalculationsWriter.WriteDuneLocationCalculations(Enumerable.Empty(), filePath); // Assert var exception = Assert.Throws(call); @@ -79,7 +79,7 @@ var filePath = new string('a', 249); // Call - TestDelegate call = () => DuneLocationCalculationsWriter.WriteDuneLocationCalculations(Enumerable.Empty(), filePath); + TestDelegate call = () => DuneLocationCalculationsWriter.WriteDuneLocationCalculations(Enumerable.Empty(), filePath); // Assert var exception = Assert.Throws(call); @@ -98,7 +98,7 @@ disposeHelper.LockDirectory(FileSystemRights.Write); // Call - TestDelegate call = () => DuneLocationCalculationsWriter.WriteDuneLocationCalculations(Enumerable.Empty(), filePath); + TestDelegate call = () => DuneLocationCalculationsWriter.WriteDuneLocationCalculations(Enumerable.Empty(), filePath); // Assert var exception = Assert.Throws(call); @@ -118,7 +118,7 @@ fileDisposeHelper.LockFiles(); // Call - TestDelegate call = () => DuneLocationCalculationsWriter.WriteDuneLocationCalculations(Enumerable.Empty(), path); + TestDelegate call = () => DuneLocationCalculationsWriter.WriteDuneLocationCalculations(Enumerable.Empty(), path); // Assert var exception = Assert.Throws(call); @@ -131,19 +131,28 @@ public void WriteDuneLocationCalculations_ValidData_ValidFile() { // Setup - var calculationWithoutOutput = new DuneLocationCalculation(CreateDuneLocationForExport(9, 9740, 1.9583e-4)); + var calculationWithoutOutput = new ExportableDuneLocationCalculation( + new DuneLocationCalculation(CreateDuneLocationForExport(9, 9740, 1.9583e-4)), + 0.5, + "A"); - var calculationWithUncalculatedOutput = new DuneLocationCalculation(CreateDuneLocationForExport(10, 9770.1, 1.9583e-4)) - { - Output = CreateDuneLocationCalculationOutputForExport(double.NaN, double.NaN, double.NaN) - }; + var calculationWithUncalculatedOutput = new ExportableDuneLocationCalculation( + new DuneLocationCalculation(CreateDuneLocationForExport(10, 9770.1, 1.9583e-4)) + { + Output = CreateDuneLocationCalculationOutputForExport(double.NaN, double.NaN, double.NaN) + }, + 0.25, + "B"); - var calculationWithOutput = new DuneLocationCalculation(CreateDuneLocationForExport(11, 9771.34, 1.337e-4)) - { - Output = CreateDuneLocationCalculationOutputForExport(5.89, 14.11, 8.53) - }; + var calculationWithOutput = new ExportableDuneLocationCalculation( + new DuneLocationCalculation(CreateDuneLocationForExport(11, 9771.34, 1.337e-4)) + { + Output = CreateDuneLocationCalculationOutputForExport(5.89, 14.11, 8.53) + }, + 0.1, + "C"); - DuneLocationCalculation[] duneLocationCalculations = + ExportableDuneLocationCalculation[] exportableDuneLocationCalculations = { calculationWithoutOutput, calculationWithUncalculatedOutput, @@ -157,16 +166,17 @@ try { // Call - DuneLocationCalculationsWriter.WriteDuneLocationCalculations(duneLocationCalculations, filePath); + DuneLocationCalculationsWriter.WriteDuneLocationCalculations(exportableDuneLocationCalculations, filePath); // Assert Assert.IsTrue(File.Exists(filePath)); string fileContent = File.ReadAllText(filePath); - string expectedText = $"Kv\tNr\tRp\tHs\tTp\tTm-1,0\tD50{Environment.NewLine}" + - $"*[-]\t[dam]\t[m+NAP]\t[m]\t[s]\t[s]\t[m]{Environment.NewLine}" + - $"9\t9740\t*\t*\t*\t*\t0.000196{Environment.NewLine}" + - $"10\t9770.1\t*\t*\t*\t*\t0.000196{Environment.NewLine}" + - $"11\t9771.3\t5.89\t8.53\t14.11\t*\t0.000134{Environment.NewLine}"; + string expectedText = $"Kv\tNr\tRp\tHs\tTp\tTm-1,0\tD50\t_WBI2017_ID\t_WBI2017_Categorie\t_WBI2017_Waarde{Environment.NewLine}" + + $"*Kustvaknummer\tMetrering\tRekenpeil\tSignificante golfhoogte\tPiekperiode\tSpectrale periode\tKorreldiameter\tScenario\tCategorie\tPfdsn{Environment.NewLine}" + + $"*[-]\t[dam]\t[m+NAP]\t[m]\t[s]\t[s]\t[m]\t[-]\t[-]\t[1/jaar]{Environment.NewLine}" + + $"9\t9740\t*\t*\t*\t*\t0.000196\tA (Pfdsn = 1/2 jaar)\tA\t0.5{Environment.NewLine}" + + $"10\t9770.1\t*\t*\t*\t*\t0.000196\tB (Pfdsn = 1/4 jaar)\tB\t0.25{Environment.NewLine}" + + $"11\t9771.3\t5.89\t8.53\t14.11\t*\t0.000134\tC (Pfdsn = 1/10 jaar)\tC\t0.1{Environment.NewLine}"; Assert.AreEqual(expectedText, fileContent); } finally Index: Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.IO.Test/ExportableDuneLocationCalculationTest.cs =================================================================== diff -u -r25fdc8c96c2ea58d4193a09eb2fe50842490093e -r3fa2200f5ad050d55eec5b00f3ef2e7084a0c223 --- Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.IO.Test/ExportableDuneLocationCalculationTest.cs (.../ExportableDuneLocationCalculationTest.cs) (revision 25fdc8c96c2ea58d4193a09eb2fe50842490093e) +++ Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.IO.Test/ExportableDuneLocationCalculationTest.cs (.../ExportableDuneLocationCalculationTest.cs) (revision 3fa2200f5ad050d55eec5b00f3ef2e7084a0c223) @@ -54,7 +54,6 @@ } [Test] - [TestCase("Category")] public void Constructor_WithValidParameters_ExpectedProperties() { // Setup