public void CloneTest() { double a = 12; double b = 72; ContinuousUniformDistribution target = new ContinuousUniformDistribution(a, b); ContinuousUniformDistribution clone = (ContinuousUniformDistribution)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); }