public void ValidateToString() { var d = new Geometric(0.3); Assert.AreEqual("Geometric(p = 0.3)", d.ToString()); }