Index: Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.Test/StabilityPointStructuresInputTest.cs =================================================================== diff -u -rff948d4633181ead2677ab35467a93b4118c6751 -rb5d265c1af79ed9bf211d04d11c503aad18e6e1b --- Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.Test/StabilityPointStructuresInputTest.cs (.../StabilityPointStructuresInputTest.cs) (revision ff948d4633181ead2677ab35467a93b4118c6751) +++ Ringtoets/StabilityPointStructures/test/Ringtoets.StabilityPointStructures.Data.Test/StabilityPointStructuresInputTest.cs (.../StabilityPointStructuresInputTest.cs) (revision b5d265c1af79ed9bf211d04d11c503aad18e6e1b) @@ -332,6 +332,62 @@ AssertStabilityPointStructure(structure, input); } + [Test] + public void StructureParametersSynchronized_StructureNotSet_ReturnFalse() + { + // Setup + var input = new StabilityPointStructuresInput(); + + // Call + bool structureParametersSynchronized = input.StructureParametersSynchronized; + + // Assert + Assert.IsFalse(structureParametersSynchronized); + } + + [Test] + public void StructureParametersSynchronized_StructureAndInputInSync_ReturnTrue() + { + // Setup + var structure = new TestStabilityPointStructure(); + var input = new StabilityPointStructuresInput + { + Structure = structure + }; + + // Call + bool structureParametersSynchronized = input.StructureParametersSynchronized; + + // Assert + Assert.IsTrue(structureParametersSynchronized); + } + + [Test] + [TestCaseSource(typeof(StabilityPointStructurePermutationHelper), + nameof(StabilityPointStructurePermutationHelper.DifferentStabilityPointStructuresWithSameIdNameAndLocation), + new object[] + { + "StructureParametersSynchronized", + "ReturnFalse" + })] + public void StructureParametersSynchronized_StructureAndInputNotInSync_ReturnFalse(StabilityPointStructure modifiedStructure) + { + // Setup + var structure = new TestStabilityPointStructure(); + var input = new StabilityPointStructuresInput + { + Structure = structure + }; + + structure.CopyProperties(modifiedStructure); + + // Call + bool structureParametersSynchronized = input.StructureParametersSynchronized; + + // Assert + Assert.IsFalse(structureParametersSynchronized); + } + #region Hydraulic data [Test]