public void ValidateToString() { System.Threading.Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture; var n = new InverseGamma(1.1d, 2.1d); Assert.AreEqual("InverseGamma(α = 1.1, β = 2.1)", n.ToString()); }
public void ValidateToString() { var n = new InverseGamma(1.1, 2.1); Assert.AreEqual(String.Format("InverseGamma(Shape = {0}, Inverse Scale = {1})", n.Shape, n.Scale), n.ToString()); }
public void ValidateToString() { var n = new InverseGamma(1.1d, 2.1d); Assert.AreEqual("InverseGamma(α = 1.1, β = 2.1)", n.ToString()); }
public void ValidateToString() { var n = new InverseGamma(1.1, 2.1); Assert.AreEqual(String.Format("InverseGamma(Shape = {0}, Inverse Scale = {1})", n.Shape, n.Scale), n.ToString()); }
public void ValidateToString() { var n = new InverseGamma(1.1, 2.1); Assert.AreEqual<string>("InverseGamma(Shape = 1.1, Inverse Scale = 2.1)", n.ToString()); }