Index: Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/DistributionAssert.cs =================================================================== diff -u -ra31c79ccb0e2d2a4420a2289bc3db1e5a5125daf -rcf792220e910d93a764ea77cf57cff45d267fdde --- Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/DistributionAssert.cs (.../DistributionAssert.cs) (revision a31c79ccb0e2d2a4420a2289bc3db1e5a5125daf) +++ Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/DistributionAssert.cs (.../DistributionAssert.cs) (revision cf792220e910d93a764ea77cf57cff45d267fdde) @@ -52,6 +52,27 @@ } /// + /// Determines if the properties of the actual are the same + /// as the expected . + /// + /// The expected . + /// The actual . + /// Thrown when the following differences are found between + /// the and : + /// + /// The probabilistic distribution types. + /// The values for the mean, the standard deviation, the lower boundary and/or the upper boundary. + /// The precision for the mean, the standard deviation, the lower boundary and/or the upper boundary. + /// + public static void AreEqual(TruncatedNormalDistribution expectedDistribution, TruncatedNormalDistribution actualDistribution) + { + AreEqual((IDistribution) expectedDistribution, actualDistribution); + + AreEqualValue(expectedDistribution.LowerBoundary, actualDistribution.LowerBoundary); + AreEqualValue(expectedDistribution.UpperBoundary, actualDistribution.UpperBoundary); + } + + /// /// Determines if the properties of the actual are the same as /// the expected . ///