Index: Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/PipingSoilProfileTest.cs =================================================================== diff -u -ra25d8e273425a90e4a8fa870f5fb624f7684ef20 -r9cdd70c8d4ba76d93b72ef8c1b7df138fa73b0e4 --- Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/PipingSoilProfileTest.cs (.../PipingSoilProfileTest.cs) (revision a25d8e273425a90e4a8fa870f5fb624f7684ef20) +++ Ringtoets/Piping/test/Ringtoets.Piping.Data.Test/PipingSoilProfileTest.cs (.../PipingSoilProfileTest.cs) (revision 9cdd70c8d4ba76d93b72ef8c1b7df138fa73b0e4) @@ -42,7 +42,7 @@ public void Constructor_WithNameBottomLayersAndAquifer_ReturnsInstanceWithPropsAndEquivalentLayerCollection(SoilProfileType type) { // Setup - var name = "Profile"; + const string name = "Profile"; var random = new Random(22); double bottom = random.NextDouble(); var layers = new Collection @@ -92,7 +92,7 @@ { // Setup var random = new Random(21); - var bottom = 0.0; + const double bottom = 0.0; var equivalentLayers = new List(layerCount); for (var i = 0; i < layerCount; i++) { @@ -118,7 +118,7 @@ public void Constructor_WithNameBottomLayersBelowBottom_ThrowsArgumentException(double deltaBelowBottom) { // Setup - var bottom = 0.0; + const double bottom = 0.0; var pipingSoilLayers = new[] { new PipingSoilLayer(bottom - deltaBelowBottom), @@ -246,7 +246,7 @@ PipingSoilProfile profileF = CreateSingleLayerProfile("A", -2, SoilProfileType.SoilProfile1D); PipingSoilProfile profileG = CreateSingleLayerProfile("B", -3, SoilProfileType.SoilProfile1D); - var seed = 78; + const int seed = 78; var random = new Random(seed); var profileH = new PipingSoilProfile(GetRandomName(random), -random.NextDouble(), new[] {