Index: Ringtoets/Piping/test/Ringtoets.Piping.InputParameterCalculation.Test/InputParameterCalculationServiceTest.cs =================================================================== diff -u -r8905298103eb01ce13dd5c1a2f267f879d4fda3e -r6afbb616ce84cccaf56617d60c5cd821b00daab0 --- Ringtoets/Piping/test/Ringtoets.Piping.InputParameterCalculation.Test/InputParameterCalculationServiceTest.cs (.../InputParameterCalculationServiceTest.cs) (revision 8905298103eb01ce13dd5c1a2f267f879d4fda3e) +++ Ringtoets/Piping/test/Ringtoets.Piping.InputParameterCalculation.Test/InputParameterCalculationServiceTest.cs (.../InputParameterCalculationServiceTest.cs) (revision 6afbb616ce84cccaf56617d60c5cd821b00daab0) @@ -44,8 +44,8 @@ // Make invalid by having surfaceline partially above soil profile: double highestLevelSurfaceLine = invalidPipingCalculation.InputParameters.SurfaceLine.Points.Max(p => p.Z); - var soilProfileTop = highestLevelSurfaceLine - 0.5; - var soilProfileBottom = soilProfileTop - 0.5; + double soilProfileTop = highestLevelSurfaceLine - 0.5; + double soilProfileBottom = soilProfileTop - 0.5; invalidPipingCalculation.InputParameters.StochasticSoilProfile = new StochasticSoilProfile(0.0, SoilProfileType.SoilProfile1D, 0) { SoilProfile = new PipingSoilProfile("A", soilProfileBottom, new[] @@ -255,7 +255,7 @@ AssertPointsAreEqual(pipingSurfaceLine.DikeToeAtPolder, otherSurfaceLine.DikeToeAtPolder); Assert.AreEqual(pipingSurfaceLine.Points.Length, otherSurfaceLine.Points.Count); - for (int i = 0; i < pipingSurfaceLine.Points.Length; i++) + for (var i = 0; i < pipingSurfaceLine.Points.Length; i++) { AssertPointsAreEqual(pipingSurfaceLine.Points[i], otherSurfaceLine.Points[i]); } @@ -285,7 +285,7 @@ Assert.AreEqual(pipingProfile.Layers.First(l => l.IsAquifer).Top, otherPipingProfile.TopAquiferLayer.TopLevel); Assert.AreEqual(pipingProfile.Layers.Count(), otherPipingProfile.Layers.Count); - for (int i = 0; i < pipingProfile.Layers.Count(); i++) + for (var i = 0; i < pipingProfile.Layers.Count(); i++) { Assert.AreEqual(pipingProfile.Layers.ElementAt(i).Top, otherPipingProfile.Layers[i].TopLevel); }