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

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

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

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