Index: src/Deltares.DSoilModel.Data.Tests/DSoilModelIOTest.cs =================================================================== diff -u -r825 -r849 --- src/Deltares.DSoilModel.Data.Tests/DSoilModelIOTest.cs (.../DSoilModelIOTest.cs) (revision 825) +++ src/Deltares.DSoilModel.Data.Tests/DSoilModelIOTest.cs (.../DSoilModelIOTest.cs) (revision 849) @@ -257,7 +257,7 @@ [TestCase(4, "4 Su measured", SoilType.Clay, 41, 42, ShearStrengthModel.None, 43, 44, true, 45, 46, 0.47, 444, 44, DistributionType.LogNormal, 44, 4, DistributionType.Normal)] [TestCase(5, "5 Su calculated", SoilType.Peat, 51, 52, ShearStrengthModel.CuCalculated, 53, 54, true, 55, 56, 0.57, 555, 55, DistributionType.Deterministic, 55, 5, DistributionType.LogNormal)] [TestCase(6, "6 Su gradient", SoilType.Gravel, 61, 62, ShearStrengthModel.None, 63, 64, true, 65, 66, 0.67, 666, 66, DistributionType.Deterministic, 66, 6, DistributionType.LogNormal)] - [TestCase(7, "7 No type", SoilType.Sand, 71, 72, ShearStrengthModel.None, 73, 74, true, 75, 76, 0.77, 777, 77, DistributionType.Normal, 77, 7, DistributionType.Deterministic)] + [TestCase(7, "7 No type", SoilType.Sand, 71, 72, ShearStrengthModel.CPhi, 73, 74, true, 75, 76, 0.77, 777, 77, DistributionType.Normal, 77, 7, DistributionType.Deterministic)] public void ImportMaterialsFromMdbFileMadeWithMSoilBase(int nb, string name, SoilType type, double gammaUnsat, double gammaSat, ShearStrengthModel model, double coh, double phi, bool usePop, double pop, double ratioS, double expM, double d70MeanInMicroMeter, double d70StdDevInMicroMeter, DistributionType d70Dist, double permMean, double permStdDev, DistributionType permDist) { @@ -274,6 +274,8 @@ // Filter BM Macrostabiliteit Assert.AreEqual(gammaUnsat, project.Soils.Soils[nb - 1].AbovePhreaticLevel); Assert.AreEqual(gammaSat, project.Soils.Soils[nb - 1].BelowPhreaticLevel); + // Note at TestCase 7, the ShearStrengthModel in the soil itself is set to None (or in fact default model) and as + // the "default" default model is CPhi, CPhi is to be expected. Assert.AreEqual(model, project.Soils.Soils[nb - 1].ShearStrengthModel); Assert.AreEqual(coh, project.Soils.Soils[nb - 1].Cohesion); Assert.AreEqual(coh, project.Soils.Soils[nb - 1].CohesionStochast.Mean);