public void ValidateToString() { System.Threading.Thread.CurrentThread.CurrentCulture = System.Globalization.CultureInfo.InvariantCulture; var n = new Stable(1.2d, 0.3d, 1d, 2d); Assert.AreEqual("Stable(α = 1.2, β = 0.3, c = 1, μ = 2)", n.ToString()); }
public void ValidateToString() { var n = new Stable(1.2, 0.3, 1.0, 2.0); Assert.AreEqual(String.Format("Stable(Stability = {0}, Skewness = {1}, Scale = {2}, Location = {3})", n.Alpha, n.Beta, n.Scale, n.Location), n.ToString()); }
public void ValidateToString() { var n = new Stable(1.2d, 0.3d, 1d, 2d); Assert.AreEqual("Stable(α = 1.2, β = 0.3, c = 1, μ = 2)", n.ToString()); }
public void ValidateToString() { var n = new Stable(1.2, 0.3, 1.0, 2.0); Assert.AreEqual<string>("Stable(Stability = 1.2, Skewness = 0.3, Scale = 1, Location = 2)", n.ToString()); }