Index: DamClients/DamUI/trunk/src/Dam/Deltares.Dam.Tests/DikeTest.cs =================================================================== diff -u -r6776 -r6812 --- DamClients/DamUI/trunk/src/Dam/Deltares.Dam.Tests/DikeTest.cs (.../DikeTest.cs) (revision 6776) +++ DamClients/DamUI/trunk/src/Dam/Deltares.Dam.Tests/DikeTest.cs (.../DikeTest.cs) (revision 6812) @@ -262,7 +262,6 @@ [Test] public void TestFillImportedCsvSoilsFromCsvFileWithSoilRecords_ThenDataBaseSoilsAreFilled() { - const double percentageToFraction = 0.01; var newDike = new Dike(); var random = new Random(21); @@ -283,7 +282,7 @@ StrengthIncreaseExponent = random.NextDouble(), RatioSuPc = random.NextDouble(), Pop = random.NextDouble(), - TrafficLoadDegreeOfConsolidation = random.NextDouble() + TrafficLoadDegreeOfConsolidation = random.Next(0, 100) }, new() { @@ -300,7 +299,7 @@ StrengthIncreaseExponent = random.NextDouble(), RatioSuPc = random.NextDouble(), Pop = random.NextDouble(), - TrafficLoadDegreeOfConsolidation = random.NextDouble() + TrafficLoadDegreeOfConsolidation = random.Next(0, 100) } }; @@ -326,7 +325,7 @@ Assert.That(soil.StrengthIncreaseExponent, Is.EqualTo(soilRecord.StrengthIncreaseExponent)); Assert.That(soil.RatioCuPc, Is.EqualTo(soilRecord.RatioSuPc)); Assert.That(soil.POP, Is.EqualTo(soilRecord.Pop)); - Assert.That(soil.TrafficLoadDegreeOfConsolidation, Is.EqualTo(soilRecord.TrafficLoadDegreeOfConsolidation * percentageToFraction)); + Assert.That(soil.TrafficLoadDegreeOfConsolidation, Is.EqualTo(soilRecord.TrafficLoadDegreeOfConsolidation)); }); } }