public void CloneTest() { double a = 12; double b = 72; UniformContinuousDistribution target = new UniformContinuousDistribution(a, b); UniformContinuousDistribution clone = (UniformContinuousDistribution)target.Clone(); Assert.AreNotSame(target, clone); Assert.AreEqual(target.Entropy, clone.Entropy); Assert.AreEqual(target.Maximum, clone.Maximum); Assert.AreEqual(target.Minimum, clone.Minimum); Assert.AreEqual(target.StandardDeviation, clone.StandardDeviation); Assert.AreEqual(target.Variance, clone.Variance); }