示例#1
0
        public void ValidateToString()
        {
            System.Threading.Thread.CurrentThread.CurrentCulture = System.Globalization.CultureInfo.InvariantCulture;
            var n = new Pareto(1d, 2d);

            Assert.AreEqual("Pareto(xm = 1, α = 2)", n.ToString());
        }
 public void ValidateToString()
 {
     var n = new Pareto(1.0, 2.0);
     Assert.AreEqual("Pareto(Scale = 1, Shape = 2)", n.ToString());
 }
示例#3
0
        public void ValidateToString()
        {
            var n = new Pareto(1d, 2d);

            Assert.AreEqual("Pareto(xm = 1, α = 2)", n.ToString());
        }
示例#4
0
        public void ValidateToString()
        {
            var n = new Pareto(1.0, 2.0);

            Assert.AreEqual <string>("Pareto(Scale = 1, Shape = 2)", n.ToString());
        }