Index: dam failuremechanisms/damPiping/trunk/src/Tests/Deltares.DamUpliftTests/UpliftCalculatorTest.cs =================================================================== diff -u -r359 -r392 --- dam failuremechanisms/damPiping/trunk/src/Tests/Deltares.DamUpliftTests/UpliftCalculatorTest.cs (.../UpliftCalculatorTest.cs) (revision 359) +++ dam failuremechanisms/damPiping/trunk/src/Tests/Deltares.DamUpliftTests/UpliftCalculatorTest.cs (.../UpliftCalculatorTest.cs) (revision 392) @@ -9,6 +9,7 @@ [Test] public void TestCalculateExtraHeightForSimpleProfileWithPhreaticLineInProfile() { + // test is copied from 'https://repos.deltares.nl/repos/dam/dam classic' revision 190 const double cTolerance = 0.0001; var calculator = new UpliftCalculator(); calculator.SoilProfile = FactoryForSoilProfileTests.CreateSimpleProfile(); @@ -40,6 +41,7 @@ [Test] public void TestCalculateHeadOfPlLineForSimpleProfileWithPhreaticLineInProfile() { + // test is copied from 'https://repos.deltares.nl/repos/dam/dam classic' revision 190 const double cTolerance = 0.0001; var calculator = new UpliftCalculator(); calculator.SoilProfile = FactoryForSoilProfileTests.CreateSimpleProfile(); @@ -70,6 +72,7 @@ [Test] public void TestCalculateUpliftFactorForSimpleProfileWithPhreaticLineInProfile() { + // test is copied from 'https://repos.deltares.nl/repos/dam/dam classic' revision 190 const double cTolerance = 0.0001; var calculator = new UpliftCalculator(); calculator.SoilProfile = FactoryForSoilProfileTests.CreateSimpleProfile(); @@ -95,6 +98,7 @@ [Test] public void TestCalculateUpliftFactorForSimpleProfileWithPhreaticLineInProfileAndDryOption() { + // test is copied from 'https://repos.deltares.nl/repos/dam/dam classic' revision 190 const double cTolerance = 0.0001; var calculator = new UpliftCalculator(); calculator.SoilProfile = FactoryForSoilProfileTests.CreateSimpleProfile(); @@ -124,6 +128,7 @@ [ExpectedException(typeof(UpliftCalculatorException))] public void TestThrowsExceptionWhenSoilProfileParameterIsMissingInCalculateExtraHeight() { + // test is copied from 'https://repos.deltares.nl/repos/dam/dam classic' revision 190 var calculator = new UpliftCalculator(); calculator.CalculateUpliftFactor(0.0); } @@ -132,6 +137,7 @@ [ExpectedException(typeof(UpliftCalculatorException))] public void TestThrowsExceptionWhenSoilProfileParameterIsMissingInCalculateHeadOfPlLine() { + // test is copied from 'https://repos.deltares.nl/repos/dam/dam classic' revision 190 var calculator = new UpliftCalculator(); calculator.CalculateHeadOfPLLine(0.0); } Index: dam failuremechanisms/damPiping/trunk/src/Tests/Deltares.DamUpliftTests/SoilVolumeMassCalculatorEffectiveStressTest.cs =================================================================== diff -u -r359 -r392 --- dam failuremechanisms/damPiping/trunk/src/Tests/Deltares.DamUpliftTests/SoilVolumeMassCalculatorEffectiveStressTest.cs (.../SoilVolumeMassCalculatorEffectiveStressTest.cs) (revision 359) +++ dam failuremechanisms/damPiping/trunk/src/Tests/Deltares.DamUpliftTests/SoilVolumeMassCalculatorEffectiveStressTest.cs (.../SoilVolumeMassCalculatorEffectiveStressTest.cs) (revision 392) @@ -10,6 +10,7 @@ [Test] public void TestCalculateWithExceedingMinimumThicknessCoverLayerAndLowSurfaceLevelFullySubmerged() { + // test is copied from 'https://repos.deltares.nl/repos/dam/dam classic' revision 190 const double expectedResult = 109.000; var soilVolumeMassCalculator = new SoilVolumicMassCalculator(); soilVolumeMassCalculator.MinimumThicknessCoverLayer = 9.5; @@ -25,6 +26,7 @@ [Test] public void TestCalculateWithExceedingMinimumThicknessCoverLayerAndLowSurfaceLevelPartlySubmerged() { + // test is copied from 'https://repos.deltares.nl/repos/dam/dam classic' revision 190 const double expectedResult = 121.000; var soilVolumeMassCalculator = new SoilVolumicMassCalculator(); soilVolumeMassCalculator.MinimumThicknessCoverLayer = 9.5; @@ -40,6 +42,7 @@ [Test] public void TestCalculateWithExceedingMinimumThicknessCoverLayerFullySubmerged() { + // test is copied from 'https://repos.deltares.nl/repos/dam/dam classic' revision 190 const double expectedResult = 134.000; var soilVolumeMassCalculator = new SoilVolumicMassCalculator(); soilVolumeMassCalculator.MinimumThicknessCoverLayer = 12; @@ -55,6 +58,7 @@ [Test] public void TestCalculateWithExceedingMinimumThicknessCoverLayerPartlySubmerged() { + // test is copied from 'https://repos.deltares.nl/repos/dam/dam classic' revision 190 const double expectedResult = 166.000; var soilVolumeMassCalculator = new SoilVolumicMassCalculator(); soilVolumeMassCalculator.MinimumThicknessCoverLayer = 12; @@ -70,6 +74,7 @@ [Test] public void TestCalculateWithoutExceedingMinimumThicknessCoverLayerAndLowSurfaceLevelFullySubmerged() { + // test is copied from 'https://repos.deltares.nl/repos/dam/dam classic' revision 190 const double expectedResult = 99.000; var soilVolumeMassCalculator = new SoilVolumicMassCalculator(); soilVolumeMassCalculator.MinimumThicknessCoverLayer = 5; @@ -85,6 +90,7 @@ [Test] public void TestCalculateWithoutExceedingMinimumThicknessCoverLayerAndLowSurfaceLevelPartlySubmerged() { + // test is copied from 'https://repos.deltares.nl/repos/dam/dam classic' revision 190 const double expectedResult = 103.000; var soilVolumeMassCalculator = new SoilVolumicMassCalculator(); soilVolumeMassCalculator.MinimumThicknessCoverLayer = 5; @@ -100,6 +106,7 @@ [Test] public void TestCalculateWithoutExceedingMinimumThicknessCoverLayerFullySubmerged() { + // test is copied from 'https://repos.deltares.nl/repos/dam/dam classic' revision 190 const double expectedResult = 114.000; var soilVolumeMassCalculator = new SoilVolumicMassCalculator(); soilVolumeMassCalculator.MinimumThicknessCoverLayer = 10; @@ -114,6 +121,7 @@ [Test] public void TestCalculateWithoutExceedingMinimumThicknessCoverLayerPartlySubmerged() { + // test is copied from 'https://repos.deltares.nl/repos/dam/dam classic' revision 190 const double expectedResult = 130.000; var soilVolumeMassCalculator = new SoilVolumicMassCalculator(); soilVolumeMassCalculator.MinimumThicknessCoverLayer = 10; @@ -130,6 +138,7 @@ [ExpectedException(typeof(SoilVolumicMassCalculatorException))] public void TestThrowsExceptionIfSoilProfileHasNoLayers() { + // test is copied from 'https://repos.deltares.nl/repos/dam/dam classic' revision 190 var soilVolumeMassCalculator = new SoilVolumicMassCalculator(); soilVolumeMassCalculator.MinimumThicknessCoverLayer = 10; soilVolumeMassCalculator.SurfaceLevel = 2; @@ -142,6 +151,7 @@ [ExpectedException(typeof(SoilVolumicMassCalculatorException))] public void TestThrowsExceptionIfSoilProfileNotAssignedInSoilVolumeMassCalculator() { + // test is copied from 'https://repos.deltares.nl/repos/dam/dam classic' revision 190 var soilVolumeMassCalculator = new SoilVolumicMassCalculator(); soilVolumeMassCalculator.MinimumThicknessCoverLayer = 10; soilVolumeMassCalculator.SurfaceLevel = 2; @@ -153,6 +163,7 @@ [ExpectedException(typeof(SoilVolumicMassCalculatorException))] public void TestThrowsExceptionIfSurfaceLevelNotInsideProfile() { + // test is copied from 'https://repos.deltares.nl/repos/dam/dam classic' revision 190 var soilVolumeMassCalculator = new SoilVolumicMassCalculator(); soilVolumeMassCalculator.MinimumThicknessCoverLayer = 10; soilVolumeMassCalculator.PhreaticLevel = 0; @@ -166,6 +177,7 @@ [ExpectedException(typeof(SoilVolumicMassCalculatorException))] public void TestThrowsExceptionIfTopLayerToBeEvaluatedNotInsideProfile() { + // test is copied from 'https://repos.deltares.nl/repos/dam/dam classic' revision 190 var soilVolumeMassCalculator = new SoilVolumicMassCalculator(); soilVolumeMassCalculator.MinimumThicknessCoverLayer = 10; soilVolumeMassCalculator.PhreaticLevel = 0; Index: dam failuremechanisms/damPiping/trunk/src/Tests/Deltares.DamUpliftTests/SoilVolumeMassCalculatorTest.cs =================================================================== diff -u -r359 -r392 --- dam failuremechanisms/damPiping/trunk/src/Tests/Deltares.DamUpliftTests/SoilVolumeMassCalculatorTest.cs (.../SoilVolumeMassCalculatorTest.cs) (revision 359) +++ dam failuremechanisms/damPiping/trunk/src/Tests/Deltares.DamUpliftTests/SoilVolumeMassCalculatorTest.cs (.../SoilVolumeMassCalculatorTest.cs) (revision 392) @@ -10,6 +10,7 @@ [Test] public void TestCalculateForComplexProfileWithPhreaticLineInProfile1() { + // test is copied from 'https://repos.deltares.nl/repos/dam/dam classic' revision 190 const double cTolerance = 0.001; var calculator = new SoilVolumicMassCalculator(); calculator.SoilProfile = FactoryForSoilProfileTests.CreateComplexProfile(); @@ -22,6 +23,7 @@ [Test] public void TestCalculateForComplexProfileWithPhreaticLineInProfile2() { + // test is copied from 'https://repos.deltares.nl/repos/dam/dam classic' revision 190 const double cTolerance = 0.001; var calculator = new SoilVolumicMassCalculator(); calculator.SoilProfile = FactoryForSoilProfileTests.CreateComplexProfile(); @@ -34,6 +36,7 @@ [Test] public void TestCalculateForSimpleProfileWithPhreaticLineAboveProfile() { + // test is copied from 'https://repos.deltares.nl/repos/dam/dam classic' revision 190 const double cTolerance = 0.0001; var calculator = new SoilVolumicMassCalculator(); calculator.SoilProfile = FactoryForSoilProfileTests.CreateSimpleProfile(); @@ -51,6 +54,7 @@ [Test] public void TestCalculateForSimpleProfileWithPhreaticLineBelowProfile() { + // test is copied from 'https://repos.deltares.nl/repos/dam/dam classic' revision 190 const double cTolerance = 0.0001; var calculator = new SoilVolumicMassCalculator(); calculator.SoilProfile = FactoryForSoilProfileTests.CreateSimpleProfile(); @@ -65,6 +69,7 @@ [Test] public void TestCalculateForSimpleProfileWithPhreaticLineInProfile() { + // test is copied from 'https://repos.deltares.nl/repos/dam/dam classic' revision 190 const double cTolerance = 0.0001; var calculator = new SoilVolumicMassCalculator(); calculator.SoilProfile = FactoryForSoilProfileTests.CreateSimpleProfile(); @@ -84,6 +89,7 @@ [Test] public void TestCalculateForSimpleProfileWithPhreaticLineInProfileAndDryOption() { + // test is copied from 'https://repos.deltares.nl/repos/dam/dam classic' revision 190 const double cTolerance = 0.0001; var calculator = new SoilVolumicMassCalculator(); calculator.SoilProfile = FactoryForSoilProfileTests.CreateSimpleProfile(); @@ -106,6 +112,7 @@ [Test] public void TestCalculateForTwoLayerProfileWithPhreaticLineOnBoundary() { + // test is copied from 'https://repos.deltares.nl/repos/dam/dam classic' revision 190 const double cTolerance = 0.0001; var calculator = new SoilVolumicMassCalculator(); calculator.SoilProfile = FactoryForSoilProfileTests.CreateTwoLayerProfile(); @@ -124,6 +131,7 @@ [ExpectedException(typeof(SoilVolumicMassCalculatorException))] public void TestThrowsExceptionWhenSoilProfileParameterIsMissing() { + // test is copied from 'https://repos.deltares.nl/repos/dam/dam classic' revision 190 var calculator = new SoilVolumicMassCalculator(); calculator.CalculateTotalMass(); } @@ -132,6 +140,7 @@ [ExpectedException(typeof(SoilVolumicMassCalculatorException))] public void TestThrowsExceptionWhenSurfaceLevelIsAboveProfile() { + // test is copied from 'https://repos.deltares.nl/repos/dam/dam classic' revision 190 var calculator = new SoilVolumicMassCalculator(); calculator.SoilProfile = FactoryForSoilProfileTests.CreateSimpleProfile(); calculator.SurfaceLevel = 15.0; @@ -164,6 +173,7 @@ [ExpectedException(typeof(SoilVolumicMassCalculatorException))] public void TestThrowsExceptionWhenSurfaceLevelIsBelowProfile() { + // test is copied from 'https://repos.deltares.nl/repos/dam/dam classic' revision 190 var calculator = new SoilVolumicMassCalculator(); calculator.SoilProfile = FactoryForSoilProfileTests.CreateSimpleProfile(); calculator.SurfaceLevel = -100.0; @@ -174,6 +184,7 @@ [ExpectedException(typeof(SoilVolumicMassCalculatorException))] public void TestThrowsExceptionWhenTopLevelToBeValuatedIsBelowProfile() { + // test is copied from 'https://repos.deltares.nl/repos/dam/dam classic' revision 190 var calculator = new SoilVolumicMassCalculator(); calculator.SoilProfile = FactoryForSoilProfileTests.CreateSimpleProfile(); calculator.TopOfLayerToBeEvaluated = -100.0;