Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/PropertyClasses/MacroStabilityInwardsFailureMechanismPropertiesTest.cs =================================================================== diff -u -r60e5e7fd23d7d028fbf73251126ab5672d5ca8b9 -r2109804607e2c1041dc78167f44c116f0bee45df --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/PropertyClasses/MacroStabilityInwardsFailureMechanismPropertiesTest.cs (.../MacroStabilityInwardsFailureMechanismPropertiesTest.cs) (revision 60e5e7fd23d7d028fbf73251126ab5672d5ca8b9) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/PropertyClasses/MacroStabilityInwardsFailureMechanismPropertiesTest.cs (.../MacroStabilityInwardsFailureMechanismPropertiesTest.cs) (revision 2109804607e2c1041dc78167f44c116f0bee45df) @@ -41,10 +41,11 @@ private const int groupPropertyIndex = 2; private const int contributionPropertyIndex = 3; private const int isRelevantPropertyIndex = 4; - private const int aPropertyIndex = 5; - private const int bPropertyIndex = 6; - private const int sectionLengthPropertyIndex = 7; - private const int nPropertyIndex = 8; + private const int modelFactorPropertyIndex = 5; + private const int aPropertyIndex = 6; + private const int bPropertyIndex = 7; + private const int sectionLengthPropertyIndex = 8; + private const int nPropertyIndex = 9; [Test] public void Constructor_DataNull_ThrowArgumentNullException() @@ -111,6 +112,7 @@ const string generalCategory = "Algemeen"; const string lengthEffectCategory = "Lengte-effect parameters"; + const string modelSettingsCategory = "Modelinstellingen"; PropertyDescriptor nameProperty = dynamicProperties[namePropertyIndex]; PropertiesTestHelper.AssertRequiredPropertyDescriptorProperties(nameProperty, @@ -147,6 +149,13 @@ "Geeft aan of dit toetsspoor relevant is of niet.", true); + PropertyDescriptor modelFactorProperty = dynamicProperties[modelFactorPropertyIndex]; + PropertiesTestHelper.AssertRequiredPropertyDescriptorProperties(modelFactorProperty, + generalCategory, + "Modelfactor [-]", + "Modelfactor die wordt gebruikt bij de berekening van de benaderde faalkans op basis van de berekende stabiliteitsfactor.", + true); + PropertyDescriptor aProperty = dynamicProperties[aPropertyIndex]; PropertiesTestHelper.AssertRequiredPropertyDescriptorProperties(aProperty, lengthEffectCategory, @@ -299,6 +308,7 @@ Assert.AreEqual(isRelevant, properties.DynamicVisibleValidationMethod(nameof(properties.B))); Assert.AreEqual(isRelevant, properties.DynamicVisibleValidationMethod(nameof(properties.SectionLength))); Assert.AreEqual(isRelevant, properties.DynamicVisibleValidationMethod(nameof(properties.N))); + Assert.AreEqual(isRelevant, properties.DynamicVisibleValidationMethod(nameof(properties.ModelFactor))); Assert.IsTrue(properties.DynamicVisibleValidationMethod(null)); }